Commit e0b9beb6 authored by Mindiell's avatar Mindiell

Use a config.php file

parent 863b5c0c
...@@ -7,6 +7,9 @@ class Controller { ...@@ -7,6 +7,9 @@ class Controller {
// Function called before routing // Function called before routing
function beforeRoute($f3, $args) { function beforeRoute($f3, $args) {
// Include configuration
require_once('config.php');
// Languages available // Languages available
$languages = array( $languages = array(
array("iso" => "fr", "name"=>"Français"), array("iso" => "fr", "name"=>"Français"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment