秒速快3推荐

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

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

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

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

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

                i4rdk5/page/qwjj类名称错〓误,请检查。

                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.  ?>