Fix wrong urlpath determination
This commit is contained in:
@@ -143,14 +143,15 @@ class App
|
||||
|
||||
$this->basepath = rtrim($basepath, DIRECTORY_SEPARATOR);
|
||||
|
||||
$this->determineUrlPath();
|
||||
|
||||
// The order of the following calls is important to ensure proper initialization
|
||||
$this->loadConfigFiles();
|
||||
|
||||
$this->loadDatabase();
|
||||
|
||||
$this->determineMode();
|
||||
|
||||
$this->determineUrlPath();
|
||||
|
||||
if ($this->mode === self::MODE_NORMAL) {
|
||||
Core\Addon::loadHooks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user