html/listÀàÃû³Æ´íÎó£¬Çë¼ì²é¡£
- D:\wwwroot\jindacables\wwwroot\SpeedPHPs\spFunctions.php on line 137
132.
* @param sdir ÔØÈëÀඨÒåÎļþµÄ·¾¶£¬¿ÉÒÔÊÇĿ¼+ÎļþÃûµÄ·½Ê½£¬Ò²¿ÉÒÔµ¥¶ÀÊÇĿ¼¡£sdirµÄÖµ½«´«Èëimport()½øÐÐÔØÈë
133.
* @param force_inst ÊÇ·ñÇ¿ÖÆÖØÐÂʵÀý»¯¶ÔÏó
134.
*/
135.
function spClass($class_name, $args = null, $sdir = null, $force_inst = FALSE){
136.
// ¼ì²éÀàÃû³ÆÊÇ·ñÕýÈ·£¬ÒÔ±£Ö¤ÀඨÒåÎļþÔØÈëµÄ°²È«ÐÔ
137.
138.
if(preg_match('/[^a-z0-9\-_.]/i', $class_name))spError($class_name."ÀàÃû³Æ´íÎó£¬Çë¼ì²é¡£");
// ¼ì²éÊÇ·ñ¸ÃÀàÒѾʵÀý»¯£¬Ö±½Ó·µ»ØÒÑʵÀý¶ÔÏ󣬱ÜÃâÔÙ´ÎʵÀý»¯
139.
if(TRUE != $force_inst)if(isset($GLOBALS['G_SP']["inst_class"][$class_name]))return $GLOBALS['G_SP']["inst_class"][$class_name];
140.
// Èç¹û$sdir²»ÄܶÁÈ¡£¬Ôò²âÊÔÊÇ·ñ½ö·¾¶
141.
if(null != $sdir && !import($sdir) && !import($sdir.'/'.$class_name.'.php'))return FALSE;
142.
- D:\wwwroot\jindacables\wwwroot\SpeedPHPs\spFunctions.php on line 15
10.
GLOBAL $__controller, $__action;
11.
12.
// ¶Ô·ÓɽøÐÐ×Ô¶¯Ö´ÐÐÏà¹Ø²Ù×÷
13.
spLaunch("router_prefilter");
14.
// ¶Ô½«Òª·ÃÎʵĿØÖÆÆ÷Àà½øÐÐʵÀý»¯
15.
16.
$handle_controller = spClass($__controller, null, $GLOBALS['G_SP']["controller_path"].'/'.$__controller.".php");
// µ÷ÓÿØÖÆÆ÷³ö´í½«µ÷Ó÷ÓÉ´íÎó´¦Àíº¯Êý
17.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
18.
eval($GLOBALS['G_SP']["dispatcher_error"]);
19.
exit;
20.
}
- D:\wwwroot\jindacables\wwwroot\index.php on line 36
31.
)
32.
)
33.
*/
34.
);
35.
require("base.php");
36.
37.
spRun();
?>