Skip to content

Commit

Permalink
force lower name pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjone72 authored and hjone72 committed Jul 4, 2016
1 parent 2230283 commit 86e660f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/RememberMe.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function redirect($destroySession=false) {
}
if (isset($_GET['page'])){
if ($_GET['page'] != ''){
$_GET['page'] = strtolower($_GET['page']);
require('pages/' . $_GET['page'] . '.page.php');
}
} else {
Expand Down

0 comments on commit 86e660f

Please sign in to comment.