Browse Source

Update error.php

Cerothen 9 years ago
parent
commit
8d100791b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      error.php

+ 2 - 2
error.php

@@ -55,7 +55,7 @@ require_once("user.php");
 require_once("translate.php");
 require_once("translate.php");
 $USER = new User("registration_callback");
 $USER = new User("registration_callback");
 
 
-$dbfile = DATABASE_LOCATION  . constant('User::DATABASE_NAME') . ".db";
+$dbfile = DATABASE_LOCATION.'users.db';
 
 
 $file_db = new PDO("sqlite:" . $dbfile);
 $file_db = new PDO("sqlite:" . $dbfile);
 $file_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
 $file_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
@@ -191,4 +191,4 @@ endif;
 
 
     </body>
     </body>
 
 
-</html>
+</html>