/** * 设置框架的运行模式 * @param $mode 1.普通模式2.伪静态3.纯静态 */ public static function set_mode($mode) { self::$mode = intval($mode); }