the global dir variable was removed by xenforo

This commit is contained in:
jenz 2025-11-23 16:44:37 +01:00
parent d3fe6ec4dc
commit 220c0f7215

View File

@ -30,7 +30,7 @@ if ($fileDir === false)
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');
// Get Upgrade Repository