mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 16:13:00 +02:00
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
This commit is contained in:
+2
-3
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user