the global dir variable was removed by xenforo
This commit is contained in:
parent
d3fe6ec4dc
commit
220c0f7215
@ -30,7 +30,7 @@ if ($fileDir === false)
|
|||||||
|
|
||||||
require ($fileDir . '/src/XF.php');
|
require ($fileDir . '/src/XF.php');
|
||||||
|
|
||||||
XF::start($dir);
|
XF::start($fileDir); //after upgrading to xenforo 2.3 is the global dir variable removed.
|
||||||
$app = XF::setupApp('XF\Pub\App');
|
$app = XF::setupApp('XF\Pub\App');
|
||||||
|
|
||||||
// Get Upgrade Repository
|
// Get Upgrade Repository
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user