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:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user