aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVOC2015-10-22 17:23:22 +0200
committerMaZderMind2015-10-22 17:24:45 +0200
commitd650516f625f91fba7a4a4a0028237f9d16c0a91 (patch)
treeab8b488a26a5c96755f54d4b9bbee7001b823430
parent428a7f2bc69db91633574a91b5afdd64593c2912 (diff)
assets/ is served staticly and can't be generated dymicly. change route.
-rw-r--r--index.php2
-rw-r--r--template/page.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 2a90d71..eca6d54 100644
--- a/index.php
+++ b/index.php
@@ -66,7 +66,7 @@ try {
require('view/streams-json-v1.php');
}
- else if($route == 'assets/css/main.css')
+ else if($route == 'gen/main.css')
{
$dir = forceslash(sys_get_temp_dir());
diff --git a/template/page.phtml b/template/page.phtml
index 7fb29e4..bd73065 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -33,7 +33,7 @@
<link href="assets/img/favicon.png" rel="icon" type="image/png" />
<link type="text/css" rel="stylesheet" href="assets/mejs/mediaelementplayer.min.css" />
- <link type="text/css" rel="stylesheet" href="assets/css/main.css" />
+ <link type="text/css" rel="stylesheet" href="gen/main.css" />
<script type="text/javascript" src="assets/js/lib/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script>