public function loadFramework()
    {
        if (!defined('ANPATH_BASE')) {
            $_composerLoader = $GLOBALS['composerLoader'];
            define('ANPATH_BASE', WWW_ROOT);
            $_SERVER['HTTP_HOST'] = '';
            require_once ( ANPATH_BASE.'/includes/framework.php' );
            \AnService::get('com://site/application.dispatcher')->load();
            global $composerLoader, $console;
            $composerLoader = $_composerLoader;
            $console = $this;
        }
    }
public function loadFramework()
    {
        if (!defined('ANPATH_BASE')) {
            $_composerLoader = $GLOBALS['composerLoader'];
            define('ANPATH_BASE', WWW_ROOT);
            $_SERVER['HTTP_HOST'] = '';
            require_once ( ANPATH_BASE.'/includes/framework.php' );
            \AnService::get('com://site/application.dispatcher')->load();
            global $composerLoader, $console;
            $composerLoader = $_composerLoader;
            $console = $this;
        }
    }
public function loadFramework ( ) { if ( ! defined ( 'ANPATH_BASE' ) ) { $ _composerLoader = $ GLOBALS [ 'composerLoader' ] ; define ( 'ANPATH_BASE' , WWW_ROOT ) ; $ _SERVER [ 'HTTP_HOST' ] = '' ; require_once ( ANPATH_BASE . '/includes/framework.php' ) ; \ AnService :: get ( 'com://site/application.dispatcher' ) -> load ( ) ; global $ composerLoader , $ console ; $ composerLoader = $ _composerLoader ; $ console = $ this ; } }
Loads the Anahita Framework
Loads the Anahita Framework