Fix about if lightbox are disabled.

This commit is contained in:
Sébastien Lucas 2013-07-07 10:20:02 +02:00
parent f408a71f80
commit 886b2673d3
2 changed files with 10 additions and 2 deletions

View file

@ -93,6 +93,10 @@
$out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database);
}
if ($page == Base::PAGE_ABOUT) {
$out ["fullhtml"] = file_get_contents('about.html');
}
$out ["homeurl"] = "index.php";
if ($page != Base::PAGE_INDEX && !is_null ($database)) $out ["homeurl"] = $out ["homeurl"] . "?" . addURLParameter ("", DB, $database);