From 55bf63d7548dca4ce5b82b1c20c00e6237d706b2 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 15 Jun 2015 09:41:51 +0000 Subject: [PATCH] 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 --- config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.php b/config.php index 4c8e903..2034000 100644 --- a/config.php +++ b/config.php @@ -41,6 +41,8 @@ class config $this->confFile = "./datas/configuration.php"; elseif (file_exists ("./data/configuration.php")) $this->confFile = "./data/configuration.php"; + else + $this->confFile = "./data/configuration.php"; } /** List all the parameters configurable in the software */