summaryrefslogtreecommitdiff
path: root/badges.php
diff options
context:
space:
mode:
Diffstat (limited to 'badges.php')
-rw-r--r--badges.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/badges.php b/badges.php
index c4444b1..c4cfedb 100644
--- a/badges.php
+++ b/badges.php
@@ -1,7 +1,7 @@
<?php
-include_once "../src/utils.php";
-include_once "../src/config.php";
-include_once "../src/user.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/user.php";
$db = new PDO(DB_URL, DB_USER, DB_PASS);