mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
GLOBALS hook&plugin
This commit is contained in:
@@ -7,8 +7,8 @@ require dirname(__DIR__) . '/include/functions.php';
|
|||||||
if (!RUNNING_IN_OCTANE) {
|
if (!RUNNING_IN_OCTANE) {
|
||||||
\Nexus\Nexus::boot();
|
\Nexus\Nexus::boot();
|
||||||
}
|
}
|
||||||
$hook = new \Nexus\Plugin\Hook();
|
$GLOBALS['hook'] = $hook = new \Nexus\Plugin\Hook();
|
||||||
$plugin = new \Nexus\Plugin\Plugin();
|
$GLOBALS['plugin'] = $plugin = new \Nexus\Plugin\Plugin();
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Create The Application
|
| Create The Application
|
||||||
|
|||||||
Reference in New Issue
Block a user