- Timestamp:
- Mar 11, 2013, 10:45:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/host.php
r357 r362 158 158 159 159 $this->script_filename = substr(realpath($_SERVER['SCRIPT_FILENAME']), strlen($this->document_root)); # e.g.: "/de/page.php" 160 161 // Windows realpath() converts Unix Paths ($_SERVER) to Windows Paths (like \en\index.php). 162 // We want to use unix paths ($_SERVER like) internally, so do this dummy conversion back, if neccessary 163 $this->script_filename = str_replace('\\', '/', $this->script_filename); 164 160 165 //phpinfo(); exit; 161 166 }
Note: See TracChangeset
for help on using the changeset viewer.