diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-25 07:48:28 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-25 07:48:28 +0000 |
commit | f5a947aa0c2d197d679a3ff53ae17cfdaad41eae (patch) | |
tree | 82a00cc11df0a850ba08d2ee05ca656071c27bc0 /lib/init.php | |
parent | fe5e72104ab0c622a58cd11c56afb00e3ebb7208 (diff) | |
download | ampache-f5a947aa0c2d197d679a3ff53ae17cfdaad41eae.tar.gz ampache-f5a947aa0c2d197d679a3ff53ae17cfdaad41eae.tar.bz2 ampache-f5a947aa0c2d197d679a3ff53ae17cfdaad41eae.zip |
first step to the migration hotness, detect failed config files and show migration docs
Diffstat (limited to 'lib/init.php')
-rw-r--r-- | lib/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php index 6d3a1d5c..b7032e29 100644 --- a/lib/init.php +++ b/lib/init.php @@ -61,7 +61,7 @@ $results = @parse_ini_file($configfile); if (!count($results)) { $path = preg_replace("/(.*)\/(\w+\.php)$/","\${1}", $_SERVER['PHP_SELF']); - $link = $http_type . $_SERVER['HTTP_HOST'] . $path . "/test.php"; + $link = $http_type . $_SERVER['HTTP_HOST'] . $path . "/test.php?action=config"; header ("Location: $link"); exit(); } |