From: Jérôme Benoit Date: Mon, 15 Jan 2018 17:34:43 +0000 (+0100) Subject: Add a sample configuration file. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=24d00e7900e18a9293d9e0ba088ad773f999b741;p=Project_webapp.git Add a sample configuration file. Signed-off-by: Jérôme Benoit --- 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']' + ); */ + +?>