summaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/index.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/htdocs/index.php b/htdocs/index.php
index 1a9e5af..25f5ad1 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -89,18 +89,14 @@ if($config->value('splash') == "true") {
</script>
</head>
<body><?php
+
+ include_once($UTIL_DIR."/preload.php");
+preload("design/mors/style.css");
+
if($page == "admin") {
include($UTIL_DIR."/admin.php");
}
?>
-<div style="display: none;">
-<?php
-$_ps = $config->value('preload');
-foreach($_ps as $_p) {
- echo " <img alt=\"preload\" src=\"".$_p."\"/>\n";
-}
-?>
-</div>
<div class="page">
<div class="menu">
<?php