/** * 获取脚本程序名称全路经 * * @return string */ public static function SGetScriptFullName() { $sScript = Ko_Web_Request::SScriptFilename(); if ('/' != $sScript[0] && ':/' != substr($sScript, 1, 2)) { $sPath = realpath(dirname($sScript)); $sScript = $sPath . '/' . $sScript; } return $sScript; }
public static function IDispatch(&$phpFilename) { $scriptFilename = Ko_Web_Request::SScriptFilename(); $requestMethod = Ko_Web_Request::SRequestMethod(true); return self::_IDispatch($scriptFilename, $requestMethod, $phpFilename); }