mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 21:28:14 +01:00
Issue 56
This commit is contained in:
parent
cc62534837
commit
b626952f93
@ -93,7 +93,7 @@ source control revision number. If not, the utility function Minify_groupUri()
|
||||
will return "versioned" Minify URIs for use in your HTML. E.g.:
|
||||
|
||||
<?php
|
||||
require $_SERVER['DOCUMENT_ROOT'] . '/min/util.php';
|
||||
require $_SERVER['DOCUMENT_ROOT'] . '/min/utils.php';
|
||||
|
||||
$jsUri = Minify_groupUri('js');
|
||||
echo "<script type='text/javascript' src='{$jsUri}'></script>";
|
||||
|
@ -67,7 +67,7 @@ function Minify_groupsMtime($groups)
|
||||
function _Minify_getBuild($group)
|
||||
{
|
||||
static $builds = array();
|
||||
static $cg = false;
|
||||
static $gc = false;
|
||||
if (false === $gc) {
|
||||
$gc = (require dirname(__FILE__) . '/groupsConfig.php');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user