Changeset 5703
- Timestamp:
- 04/10/08 12:06:29 (9 months ago)
- Files:
-
- 1 modified
-
trunk/rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rewrite.php
r5633 r5703 4 4 /// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) 5 5 define('ROOT', '.'); 6 /* Workaround for IIS environment */ 7 if(!isset($_SERVER['REQUEST_URI']) && isset($_SERVER['SCRIPT_NAME'])) { 8 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; 9 if(isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) $_SERVER['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING']; 10 } 6 11 if (!empty($_SERVER['PRELOAD_CONFIG']) && file_exists('config.php')) require_once ROOT."/config.php"; 7 12 /* Retrieve Access Parameter Information. */
