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/bootstrap/css/bootstrap-colorpicker.min.css.php
Normal file
10
resources/bootstrap/css/bootstrap-colorpicker.min.css.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
ob_start('ob_gzhandler');
|
||||
header('Content-type: text/css; charset: UTF-8');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
|
||||
|
||||
include_once 'bootstrap-colorpicker.min.css';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/css/bootstrap-tempusdominus.min.css.php
Normal file
10
resources/bootstrap/css/bootstrap-tempusdominus.min.css.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
ob_start('ob_gzhandler');
|
||||
header('Content-type: text/css; charset: UTF-8');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
|
||||
|
||||
include_once 'bootstrap-tempusdominus.min.css';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/css/bootstrap.min.css.php
Normal file
10
resources/bootstrap/css/bootstrap.min.css.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
ob_start('ob_gzhandler');
|
||||
header('Content-type: text/css; charset: UTF-8');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
|
||||
|
||||
include_once 'bootstrap.min.css';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/js/bootstrap-colorpicker.min.js.php
Normal file
10
resources/bootstrap/js/bootstrap-colorpicker.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 'bootstrap-colorpicker.min.js';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/js/bootstrap-pwstrength.min.js.php
Normal file
10
resources/bootstrap/js/bootstrap-pwstrength.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 'bootstrap-pwstrength.min.js';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/js/bootstrap-tempusdominus.min.js.php
Normal file
10
resources/bootstrap/js/bootstrap-tempusdominus.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 'bootstrap-tempusdominus.min.js';
|
||||
|
||||
?>
|
||||
10
resources/bootstrap/js/bootstrap.min.js.php
Normal file
10
resources/bootstrap/js/bootstrap.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 'bootstrap.min.js';
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user