diff --git a/bootstrap/app.php b/bootstrap/app.php index ba415d22..c858a7e3 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -7,8 +7,8 @@ require dirname(__DIR__) . '/include/functions.php'; if (!RUNNING_IN_OCTANE) { \Nexus\Nexus::boot(); } -$hook = new \Nexus\Plugin\Hook(); -$plugin = new \Nexus\Plugin\Plugin(); +$GLOBALS['hook'] = $hook = new \Nexus\Plugin\Hook(); +$GLOBALS['plugin'] = $plugin = new \Nexus\Plugin\Plugin(); /* |-------------------------------------------------------------------------- | Create The Application