assets/ is served staticly and can't be generated dymicly. change route.

This commit is contained in:
VOC 2015-10-22 17:23:22 +02:00 committed by MaZderMind
parent 428a7f2bc6
commit d650516f62
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ try {
require('view/streams-json-v1.php'); 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()); $dir = forceslash(sys_get_temp_dir());

View file

@ -33,7 +33,7 @@
<link href="assets/img/favicon.png" rel="icon" type="image/png" /> <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/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.min.js"></script>
<script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script> <script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script>