From 24d00e7900e18a9293d9e0ba088ad773f999b741 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 15 Jan 2018 18:34:43 +0100 Subject: [PATCH] Add a sample configuration file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- includes/example.config.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 includes/example.config.php diff --git a/includes/example.config.php b/includes/example.config.php new file mode 100644 index 0000000..d7ad853 --- /dev/null +++ b/includes/example.config.php @@ -0,0 +1,27 @@ + 'http://localhost/~fraggle/airpolytech', + 'host' => 'localhost', + 'username' => 'username', + 'password' => 'password', + 'database' => 'bdVols', + 'actions' => array( + 'home', + 'login', + 'logout', + 'register', + 'booking', + 'search', + 'account' + ) + ); + + /* return array( + 'host' => $_SERVER['dbHost'], + 'username' => $_SERVER['dbLogin'], + 'password' => $_SERVER['dbPass'], + 'database' => '$_SERVER['dbBd']' + ); */ + +?> -- 2.34.1