config : if no configuration file exists, the default one is data/configuration.php

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2204 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2015-06-15 09:41:51 +00:00
parent 1239477ef2
commit 55bf63d754

View File

@@ -41,6 +41,8 @@ class config
$this->confFile = "./datas/configuration.php"; $this->confFile = "./datas/configuration.php";
elseif (file_exists ("./data/configuration.php")) elseif (file_exists ("./data/configuration.php"))
$this->confFile = "./data/configuration.php"; $this->confFile = "./data/configuration.php";
else
$this->confFile = "./data/configuration.php";
} }
/** List all the parameters configurable in the software */ /** List all the parameters configurable in the software */