summaryrefslogtreecommitdiffstats
path: root/api/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/add.php')
-rw-r--r--api/add.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/add.php b/api/add.php
index 780a3b4..7edeb3b 100644
--- a/api/add.php
+++ b/api/add.php
@@ -8,8 +8,8 @@ foreach ($req_keys as $key) {
exit(0);
}
}
-$path = "/home/maks/school/clientApps/mlos/src/db.xml";
-require_once "/home/maks/school/clientApps/mlos/src/data.php";
+$path = "%PWD%src/db.xml";
+require_once "%PWD%src/data.php";
$name = $_POST["name"];
$author = $_POST["author"];