mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-19 10:03:17 -04:00
Squashed commit of the following: Author: itismadness <[email protected]> fix bug with router on ajax calls finish up initial router implementation Merge branch 'master' into router Add tests for router Fix boolean on authorized function Finish basic implementation for the router
18 lines
338 B
PHP
18 lines
338 B
PHP
<?
|
|
class G {
|
|
/** @var DB_MYSQL */
|
|
public static $DB;
|
|
/** @var CACHE */
|
|
public static $Cache;
|
|
/** @var \Gazelle\Router */
|
|
public static $Router;
|
|
|
|
public static $LoggedUser;
|
|
|
|
public static function initialize() {
|
|
global $DB, $Cache, $LoggedUser;
|
|
self::$DB = $DB;
|
|
self::$Cache = $Cache;
|
|
self::$LoggedUser =& $LoggedUser;
|
|
}
|
|
} |