Changeset 607 for trunk/plog-load-config.php
- Timestamp:
- 11/12/09 18:41:57 (10 months ago)
- File:
-
- 1 edited
-
trunk/plog-load-config.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-load-config.php
r602 r607 94 94 // if mod_rewrite is on and we're not embedded, remove the file basename 95 95 if ($config['use_mod_rewrite'] == 1 && $config['embedded'] == 0) { 96 $config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'; 96 $config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']); 97 // Verify URL for a trailing slash. If not, add one. 98 if ($config['baseurl']{strlen($config['baseurl'])-1} != '/') { 99 $config['baseurl'] = $config['baseurl'].'/'; 100 } 97 101 // otherwise just use our cleaned up version of $_SERVER['PHP_SELF'] from plog-globals.php 98 102 } else {
Note: See TracChangeset
for help on using the changeset viewer.
