diff options
Diffstat (limited to 'framework/Web/THttpRequest.php')
-rw-r--r-- | framework/Web/THttpRequest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index 24606c56..f87111ba 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -219,7 +219,7 @@ class THttpRequest extends TComponent implements IModule */
public function getPhysicalApplicationPath()
{
- return $_SERVER['SCRIPT_FILENAME'];
+ return strtr($_SERVER['SCRIPT_FILENAME'],'\\','/');
}
/**
|