User php file now has a different name

This commit is contained in:
zontreck 2024-05-15 04:54:17 -07:00
parent f04ad028ae
commit cf5b6d87ff

View file

@ -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();
?>