User php file now has a different name
This commit is contained in:
parent
f04ad028ae
commit
cf5b6d87ff
1 changed files with 3 additions and 1 deletions
|
@ -23,10 +23,12 @@ function rewrite_DB_conf($host, $user, $pass, $db)
|
|||
. "define(\"DB_NAME\", \"$db\");\n"
|
||||
. "\?>";
|
||||
|
||||
file_put_contents("Database.php", $ptl);
|
||||
file_put_contents("database.user.php", $ptl);
|
||||
}
|
||||
|
||||
require("Database.php");
|
||||
if(file_exists("database.user.php"))
|
||||
require("database.user.php");
|
||||
|
||||
session_start();
|
||||
?>
|
Loading…
Reference in a new issue