Add a sample configuration file.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 15 Jan 2018 17:34:43 +0000 (18:34 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 15 Jan 2018 17:34:43 +0000 (18:34 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
includes/example.config.php [new file with mode: 0644]

diff --git a/includes/example.config.php b/includes/example.config.php
new file mode 100644 (file)
index 0000000..d7ad853
--- /dev/null
@@ -0,0 +1,27 @@
+ <?php
+
+ return array(
+     'root_url' => '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']'
+ ); */
+
+?>