快3官方网站下载

  • <tr id='hZ5x4g'><strong id='hZ5x4g'></strong><small id='hZ5x4g'></small><button id='hZ5x4g'></button><li id='hZ5x4g'><noscript id='hZ5x4g'><big id='hZ5x4g'></big><dt id='hZ5x4g'></dt></noscript></li></tr><ol id='hZ5x4g'><option id='hZ5x4g'><table id='hZ5x4g'><blockquote id='hZ5x4g'><tbody id='hZ5x4g'></tbody></blockquote></table></option></ol><u id='hZ5x4g'></u><kbd id='hZ5x4g'><kbd id='hZ5x4g'></kbd></kbd>

    <code id='hZ5x4g'><strong id='hZ5x4g'></strong></code>

    <fieldset id='hZ5x4g'></fieldset>
          <span id='hZ5x4g'></span>

              <ins id='hZ5x4g'></ins>
              <acronym id='hZ5x4g'><em id='hZ5x4g'></em><td id='hZ5x4g'><div id='hZ5x4g'></div></td></acronym><address id='hZ5x4g'><big id='hZ5x4g'><big id='hZ5x4g'></big><legend id='hZ5x4g'></legend></big></address>

              <i id='hZ5x4g'><div id='hZ5x4g'><ins id='hZ5x4g'></ins></div></i>
              <i id='hZ5x4g'></i>
            1. <dl id='hZ5x4g'></dl>
              1. <blockquote id='hZ5x4g'><q id='hZ5x4g'><noscript id='hZ5x4g'></noscript><dt id='hZ5x4g'></dt></q></blockquote><noframes id='hZ5x4g'><i id='hZ5x4g'></i>

                i4rdk5/product/detail/190类名称错ㄨ误,请检查。

                126.   * @param sdir 载入类定义文件的路径,可以是ζ 目录+文件◇名的方式,也可以单独是目录。sdir的值将传入import()进行载入
                127.   * @param force_inst 是否强制重新实例化对象
                128.   */
                129.  function spClass($class_name$args null$sdir null$force_inst FALSE){
                130.      // 检查类名称是否正确,以保证类定『义文件载入的安全性
                131.      if(preg_match('/[^a-z0-9\-_.]/i'$class_name))spError($class_name."类名称错误,请检查。");
                132.      // 检查【是否该类已经实例化,直接返回已实例◤对象,避□ 免再次实例化
                133.      if(TRUE != $force_inst)if(isset($GLOBALS['G_SP']["inst_class"][$class_name]))return $GLOBALS['G_SP']["inst_class"][$class_name];
                134.      // 如果$sdir不能读取,则测试是否仅▲路径
                135.      if(null != $sdir && !import($sdir) && !import($sdir.'/'.$class_name.'.php'))return FALSE;
                136.      
                9.  function spRun(){
                10.      GLOBAL $__controller$__action;
                11.      // 对路由进行自动执行相关操作
                12.      spLaunch("router_prefilter");
                13.      // 对将要访问的控制器类进行实例化
                14.      $handle_controller spClass($__controllernull$GLOBALS['G_SP']["controller_path"].'/'.$__controller.".php");
                15.      // 调用控制器出错将调用路由错误处理函数
                16.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
                17.          eval($GLOBALS['G_SP']["dispatcher_error"]);
                18.          exit;
                19.      }
                37.      ),
                38.  );
                39. 
                40.  require(SP_PATH."/SpeedPHP.php");
                41.  require(SP_PATH."/Extensions/cyFunctions.php");
                42.  spRun();
                43. 
                44.  ?>