diff options
author | deva <deva> | 2011-11-01 09:32:21 +0000 |
---|---|---|
committer | deva <deva> | 2011-11-01 09:32:21 +0000 |
commit | 42c62cb041a2b2b95c9cda0c20fcf70334fd244c (patch) | |
tree | 38371eb37ff7348585ee84438b326c25055e2cbe /htdocs/index.php | |
parent | 208e3b642149a9ac701a43397d31990f9b27ca79 (diff) |
Rewl og krat... needs cleaning up - after port to GIT.origin
Diffstat (limited to 'htdocs/index.php')
-rw-r--r-- | htdocs/index.php | 4 |
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')); } |