diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-03-31 20:43:09 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-03-31 20:43:09 +0000 |
commit | a0033b8b56fdf9489981c52b6edaaeb3ecdb1e7e (patch) | |
tree | c2152cd57002a92c6a58752b95a9511bff1ace38 /install.php | |
parent | ff1e280227a2d7b3359d227dbfe6d1878c4589c3 (diff) |
redirections modification : use of a HTML refresh page instead of header PHP
function. The purpose is to avoid redirections failure when extra characters
are found in included PHP files.
git-svn-id: http://piwigo.org/svn/trunk@405 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | install.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/install.php b/install.php index 25d121972..924ce8ffa 100644 --- a/install.php +++ b/install.php @@ -180,9 +180,8 @@ if (@file_exists($config_file)) // Is phpBB already installed? Yes? Redirect to the index if (defined("PHPWG_INSTALLED")) -{ - header( 'Location: index.php' ); - exit; +{ + die( 'PhpWebGallery is already installed' ); } include(PHPWG_ROOT_PATH . 'include/constants.php'); |