public static function import_css($path) { self::init(); if (is_array($path)) { foreach ($path AS $key => $val) { if (substr($val, 0, 4) == 'css/' AND !strstr($val, '/admin/')) { $val = str_replace('css/', 'css/default/', $val); } if (substr($val, 0, 4) != 'http') { $val = G_STATIC_URL . '/' . $val; } self::$view->_import_css_files[] = $val; } } else { if (substr($path, 0, 4) == 'css/' AND !strstr($path, '/admin/')) { $path = str_replace('css/', 'css/default/', $path); } if (substr($path, 0, 4) != 'http') { $path = G_STATIC_URL . '/' . $path; } self::$view->_import_css_files[] = $path; } }
这家伙很懒,还没有设置简介