static function register() { if (self::$_classPath === null) { self::setDefaultClassPath(); } if (self::$_includePath === null) { self::setDefaultIncludePath(); } // register the autoload spl_autoload_register(array("Ezer_Autoloader", "autoload")); // set include path self::$_oldIncludePath = get_include_path(); set_include_path(get_include_path() . PATH_SEPARATOR . implode(PATH_SEPARATOR, self::$_includePath)); }