summaryrefslogtreecommitdiff
path: root/p/i/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-27 15:16:53 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-27 15:16:53 +0100
commitbadc60910a21774512034027bbb394ffeb477629 (patch)
tree439ede007eb03110324943bd170eeed44538cdfa /p/i/install.php
parentb99979cef78f7cd0c1cb4ae81115d09881e85926 (diff)
Petites corrections et sortie 0.7-beta3
Diffstat (limited to 'p/i/install.php')
-rw-r--r--p/i/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/i/install.php b/p/i/install.php
index 0e8a972c6..132cd5508 100644
--- a/p/i/install.php
+++ b/p/i/install.php
@@ -573,7 +573,7 @@ function checkStep2 () {
if ($defaultUser === null) {
$defaultUser = empty($_SESSION['default_user']) ? '' : $_SESSION['default_user'];
}
- $data = file_exists (DATA_PATH . '/' . $defaultUser . '_user.php');
+ $data = is_writable(DATA_PATH . '/' . $defaultUser . '_user.php');
if ($data) {
@unlink(DATA_PATH . '/Configuration.array.php'); //v0.6
}
@@ -585,7 +585,7 @@ function checkStep2 () {
);
}
function checkStep3 () {
- $conf = file_exists (DATA_PATH . '/config.php');
+ $conf = is_writable(DATA_PATH . '/config.php');
$bd = isset ($_SESSION['bd_type']) &&
isset ($_SESSION['bd_host']) &&