/home/sharedstore/public_html/prestashop.sharedstore.ma/vendor/mrclay/minify
NameSizeModeActions
builder/-0755rm
docs/-0755rm
lib/-0755rm
static/-0755rm
.htaccess3070644editdlrm
.php_cs4340644editdlrm
.semver620644editdlrm
bootstrap.php6580644editdlrm
config-test.php2900644editdlrm
config.php66460644editdlrm
example.index.php2260644editdlrm
groupsConfig.php5390644editdlrm
index.php2540644editdlrm
LICENSE.txt15580644editdlrm
quick-test.css5470644editdlrm
quick-test.js28110644editdlrm
quick-test.less4740644editdlrm
quick-testinc.less4420644editdlrm
server-info.php44880644editdlrm
UPGRADING.txt6020644editdlrm
utils.php26330644editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/vendor/mrclay/minify/utils.php (2633B)
* * * * * * @param mixed $keyOrFiles a group key or array of file paths/URIs * @param array $opts options: * 'farExpires' : (default true) append a modified timestamp for cache revving * 'debug' : (default false) append debug flag * 'charset' : (default 'UTF-8') for htmlspecialchars * 'minAppUri' : (default '/min') URI of min directory * 'rewriteWorks' : (default true) does mod_rewrite work in min app? * 'groupsConfigFile' : specify if different * @return string */ function Minify_getUri($keyOrFiles, $opts = array()) { return Minify_HTML_Helper::getUri($keyOrFiles, $opts); } /** * Get the last modification time of several source js/css files. If you're * caching the output of Minify_getUri(), you might want to know if one of the * dependent source files has changed so you can update the HTML. * * Since this makes a bunch of stat() calls, you might not want to check this * on every request. * * @param array $keysAndFiles group keys and/or file paths/URIs. * @return int latest modification time of all given keys/files */ function Minify_mtime($keysAndFiles, $groupsConfigFile = null) { $gc = null; if (! $groupsConfigFile) { $groupsConfigFile = Minify_HTML_Helper::app()->groupsConfigPath; } $sources = array(); foreach ($keysAndFiles as $keyOrFile) { if (is_object($keyOrFile) || 0 === strpos($keyOrFile, '/') || 1 === strpos($keyOrFile, ':\\')) { // a file/source obj $sources[] = $keyOrFile; } else { if (! $gc) { $gc = (require $groupsConfigFile); } foreach ($gc[$keyOrFile] as $source) { $sources[] = $source; } } } return Minify_HTML_Helper::getLastModified($sources); }