This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="css/global/_dynamic.php?v=<?=@include('css/global/_dynamic.php');?>"> | |
<link rel="stylesheet" href="css/homepage/_dynamic.php?v=<?=@include('css/homepage/_dynamic.php');?>"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
class AutoVersion { | |
public function fly($folder, $files_array = array(), $content_type = 'text/css', $compress = true) { | |
$code = ''; | |
$path = $_SERVER['DOCUMENT_ROOT'] . $folder; | |
$last_modified = $this->last_modified($folder, $files_array); | |
$max_age = 60 * 60 * 24 * 365; // refresh if older than a year |