Fix deprecation and config errors/warnings. The entire project should now work using only the php shell.

This commit is contained in:
2025-11-24 15:06:58 +01:00
parent 823154ef9c
commit 330c09d2af
2 changed files with 14 additions and 2 deletions

View File

@@ -33,7 +33,8 @@ return array(
* This detects your URL/IP incl. sub-folder automatically. You can also deactivate auto-detection and provide the
* URL manually. This should then look like 'http://192.168.33.44/' ! Note the slash in the end.
*/
'URL' => 'http://' . $_SERVER['HTTP_HOST'] . str_replace('public', '', dirname($_SERVER['SCRIPT_NAME'])),
// 'URL' => 'http://' . $_SERVER['HTTP_HOST'] . str_replace('public', '', dirname($_SERVER['SCRIPT_NAME'])),
'URL' => 'http://localhost:8000/', // Use this for a local environment that doesnt run on a normal webserver.
/**
* Configuration for: Folders
* Usually there's no reason to change this.
@@ -62,7 +63,7 @@ return array(
* DB_CHARSET The charset, necessary for security reasons. Check Database.php class for more info.
*/
'DB_TYPE' => 'mysql',
'DB_HOST' => 'localhost',
'DB_HOST' => '127.0.0.1',
'DB_NAME' => 'huge',
'DB_USER' => 'root',
'DB_PASS' => 'root',