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

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

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

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

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

                snvjju/home類名默认了稱錯誤,請檢查。

                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.      // 檢查是否該類已經實例化,直接返回已實drizzle666例對象,避免再次實例化
                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.      }
                13.  //加載配置〗文件
                14.  require(APP_PATH.'/data/config.php');
                15.  //加載框架核心
                16.  require(SP_PATH.'/SpeedPHP.php');
                17.  //執行應用
                18.  spRun();