Browse Source

Added mkdir of config in the installer.

pull/5/head
Etenil 15 years ago
parent
commit
71598420eb
  1. 5
      .gitignore
  2. 4
      install.php

5
.gitignore

@ -4,3 +4,8 @@ cache.tmp
log/*
i18n/files.list
*.pdf
*.swp
user
log
config

4
install.php

@ -163,6 +163,10 @@ function perform_install()
printf(t("Couldn't create directory '%s'."), 'log');
return false;
}
if(!test_dir('config') && !@mkdir('config')) {
printf(t("Couldn't create directory '%s'."), 'config');
return false;
}
// Creating the configuration file.
$conf = array(

Loading…
Cancel
Save