]> Softwares of Agnibho - simpleipd.git/blobdiff - adduser
Bugfix
[simpleipd.git] / adduser
diff --git a/adduser b/adduser
index f878e2996a5066b2b1dd744568cf37c91170a368..d8bbb09f67f42e61422072c8c82b16b4c5c8a1cd 100755 (executable)
--- a/adduser
+++ b/adduser
@@ -1,6 +1,6 @@
 #! /usr/bin/env php
 <?php
-$db=new SQLite3("data/data.db");
+$db=new SQLite3("database/data.db");
 if(!empty($_SERVER["argv"][1]) && !empty($_SERVER["argv"][2]) && !empty($_SERVER["argv"][3]) && !empty($_SERVER["argv"][4])){
   $stmt=$db->prepare("SELECT * FROM users WHERE user=:user");
   $stmt->bindValue(":user",$_SERVER["argv"][1]);