Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
piphone-front
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
e0b9beb6
Commit
e0b9beb6
authored
Nov 22, 2014
by
Mindiell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a config.php file
parent
863b5c0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
app/Controller.php
app/Controller.php
+3
-0
No files found.
app/Controller.php
View file @
e0b9beb6
...
@@ -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"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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