sforkowany z mirror/friendica
Fix wrong urlpath determination
rodzic
6d4615fabd
commit
73b4e0552d
|
@ -143,14 +143,15 @@ class App
|
||||||
|
|
||||||
$this->basepath = rtrim($basepath, DIRECTORY_SEPARATOR);
|
$this->basepath = rtrim($basepath, DIRECTORY_SEPARATOR);
|
||||||
|
|
||||||
$this->determineUrlPath();
|
// The order of the following calls is important to ensure proper initialization
|
||||||
|
|
||||||
$this->loadConfigFiles();
|
$this->loadConfigFiles();
|
||||||
|
|
||||||
$this->loadDatabase();
|
$this->loadDatabase();
|
||||||
|
|
||||||
$this->determineMode();
|
$this->determineMode();
|
||||||
|
|
||||||
|
$this->determineUrlPath();
|
||||||
|
|
||||||
if ($this->mode === self::MODE_NORMAL) {
|
if ($this->mode === self::MODE_NORMAL) {
|
||||||
Core\Addon::loadHooks();
|
Core\Addon::loadHooks();
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue