mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-18 13:23:35 +01:00
No more needed to delete install.php, now redirect to index.php if initial install already performed
Signed-off-by: Jerome Jutteau <mojo@couak.net>
This commit is contained in:
parent
073ea480c7
commit
0e5cca951e
@ -134,6 +134,11 @@ if (!file_exists (JIRAFEAU_CFG))
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
header('Location: index.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!is_writable (JIRAFEAU_CFG) && !@chmod (JIRAFEAU_CFG, '0666'))
|
||||
{
|
||||
|
@ -515,12 +515,6 @@ function check_errors ()
|
||||
|
||||
if (!is_writable (VAR_BLOCK))
|
||||
add_error (t('The block directory is not writable!'), VAR_BLOCK);
|
||||
|
||||
/* Check if the install.php script is still in the directory. */
|
||||
if (file_exists (JIRAFEAU_ROOT . 'install.php'))
|
||||
add_error (t('Installer script still present'),
|
||||
t('Please make sure to delete the installer script ' .
|
||||
'"install.php" before continuing.'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user