1
0
mirror of https://github.com/mrclay/minify.git synced 2025-01-17 21:28:14 +01:00
This commit is contained in:
Steve Clay 2008-10-05 22:51:29 +00:00
parent cc62534837
commit b626952f93
2 changed files with 2 additions and 2 deletions

View File

@ -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>";

View File

@ -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');
}