GITLAB
LeClubInfo
/
crep
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
847ea8538c423e99b6ebc7b52c97a6e8307ef38c
Authored by
Geoffrey PREUD'HOMME
2015-03-02 16:11:43 +0100
1 parent
00ca549f
Ensure no .php have been added
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
index.php
Inline
Side-by-side
index.php
Wrap text
Show/Hide comments
View file @
847ea85
...
...
@@ -7,6 +7,7 @@ $parsedUrl = parse_url($url);
7
7
$path = $parsedUrl['path'];
8
8
$explodedUrl = explode('/', $path);
9
9
$page = end($explodedUrl);
10
+$page = str_replace('.php', '', $page);
10
11
11
12
if ($page == '') {
12
13
$page = 'home';
...
...