/** * 设置需要自动加载的类库 * @access public */ public static function setAutoLibs() { self::$appLib = array('route' => '\\System\\Core\\Route', 'view' => '\\System\\Core\\View', 'model' => '\\System\\Core\\Model', 'controller' => '\\System\\Core\\Controller', 'db' => '\\System\\Core\\Db', 'error' => '\\System\\Core\\Error', 'log' => '\\System\\Core\\Log', 'cache' => '\\System\\Core\\Cache'); }