Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
e0b9beb6
Commit
e0b9beb6
authored
Nov 22, 2014
by
Mindiell
Browse files
Use a config.php file
parent
863b5c0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Controller.php
View file @
e0b9beb6
...
...
@@ -7,6 +7,9 @@ class Controller {
// Function called before routing
function
beforeRoute
(
$f3
,
$args
)
{
// Include configuration
require_once
(
'config.php'
);
// Languages available
$languages
=
array
(
array
(
"iso"
=>
"fr"
,
"name"
=>
"Français"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment