mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Template: Integrate compression on included .js and .css files, fix custom_css template variable.
This commit is contained in:
10
resources/momentjs/moment-with-locales.min.js.php
Normal file
10
resources/momentjs/moment-with-locales.min.js.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
ob_start('ob_gzhandler');
|
||||
header('Content-type: text/javascript; charset: UTF-8');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
|
||||
|
||||
include_once 'moment-with-locales.min.js';
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user