Change Stylesheet links to point to minified files.
Cette révision appartient à :
Parent
73542f286e
révision
8cc4670134
@ -572,7 +572,7 @@ function clean_copy_assets($path){
|
||||
} else {
|
||||
$unnecessaryJs = array('./js/less.min.js');
|
||||
@mkdir($path.'/css');
|
||||
@copy('./css/daux-'.$options['theme'].'.css', $path.'/css/daux-'.$options['theme'].'.css');
|
||||
@copy('./css/daux-'.$options['theme'].'.min.css', $path.'/css/daux-'.$options['theme'].'.min.css');
|
||||
$unnecessaryImgs = array_diff($unnecessaryImgs, array('./img/favicon-'.$options['theme'].'.png'));
|
||||
}
|
||||
copy_recursive('./img', $path.'/', $unnecessaryImgs);
|
||||
|
@ -21,7 +21,7 @@
|
||||
</style>
|
||||
<script src="<?php echo $base_url ?>/js/less.min.js"></script>
|
||||
<?php } else { ?>
|
||||
<link rel="stylesheet" href="<?php echo $base_url ?>/css/daux-<?php echo $options['theme'];?>.css">
|
||||
<link rel="stylesheet" href="<?php echo $base_url ?>/css/daux-<?php echo $options['theme'];?>.min.css">
|
||||
<?php } ?>
|
||||
<link rel="stylesheet" href="<?php echo $base_url ?>/css/full-doc.css">
|
||||
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user