[ 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
/
lib
/
Minify
/
Controller
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 Base.php
1,777 B
SET
[ EDIT ]
|
[ DEL ]
📄 Files.php
1,841 B
SET
[ EDIT ]
|
[ DEL ]
📄 Groups.php
2,117 B
SET
[ EDIT ]
|
[ DEL ]
📄 MinApp.php
7,220 B
SET
[ EDIT ]
|
[ DEL ]
📄 Page.php
2,176 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Base.php
<?php /** * Class Minify_Controller_Base * @package Minify */ use Psr\Log\LoggerInterface; use Monolog\Logger; /** * Base class for Minify controller * * The controller class validates a request and uses it to create a configuration for Minify::serve(). * * @package Minify * @author Stephen Clay <steve@mrclay.org> */ abstract class Minify_Controller_Base implements Minify_ControllerInterface { /** * @var Minify_Env */ protected $env; /** * @var Minify_Source_Factory */ protected $sourceFactory; /** * @var LoggerInterface */ protected $logger; /** * @param Minify_Env $env * @param Minify_Source_Factory $sourceFactory * @param LoggerInterface $logger */ public function __construct(Minify_Env $env, Minify_Source_Factory $sourceFactory, LoggerInterface $logger = null) { $this->env = $env; $this->sourceFactory = $sourceFactory; if (!$logger) { $logger = new Logger('minify'); } $this->logger = $logger; } /** * Create controller sources and options for Minify::serve() * * @param array $options controller and Minify options * * @return Minify_ServeConfiguration */ abstract public function createConfiguration(array $options); /** * Send message to the Minify logger * * @param string $msg * * @return null * @deprecated use $this->logger */ public function log($msg) { trigger_error(__METHOD__ . ' is deprecated in Minify 3.0.', E_USER_DEPRECATED); $this->logger->info($msg); } /** * {@inheritdoc} */ public function getEnv() { return $this->env; } }