<?php
 require_once 'Minify/Build.php'; function Minify_groupUri($group, $forceAmpersand = false) { $path = $forceAmpersand ? "/g={$group}" : "/?g={$group}"; return _Minify_getBuild($group)->uri( '/' . basename(dirname(__FILE__)) . $path ,$forceAmpersand ); } function Minify_groupsMtime($groups) { $max = 0; foreach ((array)$groups as $group) { $max = max($max, _Minify_getBuild($group)->lastModified); } return $max; } function _Minify_getBuild($group) { static $builds = array(); static $gc = false; if (false === $gc) { $gc = (require dirname(__FILE__) . '/groupsConfig.php'); } if (! isset($builds[$group])) { $builds[$group] = new Minify_Build($gc[$group]); } return $builds[$group]; } 