git-svn-id: http://www.observium.org/svn/observer/trunk@276 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-11-04 12:34:46 +00:00
parent d1cf72df7a
commit 4613597334
2 changed files with 5 additions and 212 deletions

View File

@@ -98,7 +98,11 @@ function popUp(URL) {
if($_GET['page'] && !strstr("..", $_GET['page']) && is_file("pages/" . $_GET['page'] . ".php")) {
include("pages/" . $_GET['page'] . ".php");
} else {
include("pages/default.php");
if($config['front_page']) {
include($config['front_page']);
} else {
include("pages/front/default.php");
}
}
} else {