diff --git a/event_rewards/php/bootstrap_user_upgrade.php b/event_rewards/php/bootstrap_user_upgrade.php index 474ec54..567eb40 100644 --- a/event_rewards/php/bootstrap_user_upgrade.php +++ b/event_rewards/php/bootstrap_user_upgrade.php @@ -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