Changeset 560 for trunk/plog-admin/includes/install-functions.php
- Timestamp:
- 07/15/08 17:05:24 (5 months ago)
- Files:
-
- 1 modified
-
trunk/plog-admin/includes/install-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-admin/includes/install-functions.php
r555 r560 304 304 305 305 $config['gallery_url'] = "http://".$_SERVER["SERVER_NAME"]. dirname(dirname($_SERVER["PHP_SELF"])); 306 // remove plog-admin/ from the end, if present .. is there a better way to determine the full url? 307 if (strpos($config['gallery_url'], "plog-admin/")) { 308 $config['gallery_url'] = substr($config['gallery_url'],0,strpos($config['gallery_url'], "plog-admin/")); 309 } 306 310 // verify that gallery URL contains a trailing slash. if not, add one. 307 311 if ($config['gallery_url']{strlen($config['gallery_url'])-1} != '/'){
