diff options
author | xue <> | 2005-11-15 15:34:38 +0000 |
---|---|---|
committer | xue <> | 2005-11-15 15:34:38 +0000 |
commit | 4c9067bf7ae89b446bb0e236ab20c5b4fa3ee3e3 (patch) | |
tree | be5b2366fdedd2d2789955deb18ef7e072ca4e6e /framework/Web/THttpRequest.php | |
parent | fdce469afc80e6cf922c07500f9b7bfd5b302c35 (diff) |
Added a new template/theme syntax for URL support.
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'],'\\','/');
}
/**
|