public static function run($bootstrap) { $includePaths = dirname(__FILE__); set_include_path($includePaths); spl_autoload_register(array(__CLASS__, 'autoload')); Core_Session_Object::setSessionId(); self::$applicationPath = $includePaths; self::$includePath = dirname(__FILE__); if (!isset($bootstrap)) { throw new Core_Exceptions("Bootstrap is not implemented"); } self::runBootstrap($bootstrap); self::displayContent(); }