Changeset 1725
- Timestamp:
- 08/30/08 23:25:03 (3 months ago)
- Files:
-
- 1 modified
-
branches/3.4/lib/init.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4/lib/init.php
r1723 r1725 65 65 */ 66 66 if (!file_exists($configfile)) { 67 $path = preg_replace("/(.*)\/(\w+\.php)$/","\${1}", $_SERVER['PHP_SELF']); 68 $link = $http_type . $_SERVER['HTTP_HOST'] . $path . "/install.php"; 67 $link = $http_type . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/install.php"; 69 68 header ("Location: $link"); 70 69 exit(); … … 75 74 76 75 if (!count($results)) { 77 $path = preg_replace("/(.*)\/(\w+\.php)$/","\${1}", $_SERVER['PHP_SELF']); 78 $link = $http_type . $_SERVER['HTTP_HOST'] . $path . "/test.php?action=config"; 76 $link = $http_type . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/test.php?action=config"; 79 77 header ("Location: $link"); 80 78 exit(); … … 82 80 83 81 /** This is the version.... fluf nothing more... **/ 84 $results['version'] = '3.4.3 -RC1';82 $results['version'] = '3.4.3'; 85 83 $results['int_config_version'] = '7'; 86 84
