summaryrefslogtreecommitdiff
path: root/htdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/index.php')
-rw-r--r--htdocs/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/htdocs/index.php b/htdocs/index.php
index d389e6d..f20f0af 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -1,4 +1,5 @@
<?php
+
$start_time = microtime(true);
if(file_exists("config.php")) include_once("config.php");
@@ -39,7 +40,8 @@ include_once($MODULES_DIR . "/pages.php");
$pages = new Pages($DATA_DIR . "/pages.xml");
-if($config->value('splash') == "true") {
+// Skip splash if site is entered deep (page != "").
+if($page == "" && $config->value('splash') == "true") {
if($_GET["skipsplash"]) {
setcookie("skipsplash", "true", time()+$config->value('splashreshow'));
}