diff options
author | VOC | 2015-10-22 17:23:22 +0200 |
---|---|---|
committer | MaZderMind | 2015-10-22 17:24:45 +0200 |
commit | d650516f625f91fba7a4a4a0028237f9d16c0a91 (patch) | |
tree | ab8b488a26a5c96755f54d4b9bbee7001b823430 | |
parent | 428a7f2bc69db91633574a91b5afdd64593c2912 (diff) |
assets/ is served staticly and can't be generated dymicly. change route.
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | template/page.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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> |