PATH:
home
/
lab2454c
/
credityork.com
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
mrclay
/
minify
/
lib
/
Minify
<?php /** * Detect whether request should be debugged * * @package Minify * @author Stephen Clay <steve@mrclay.org> */ class Minify_DebugDetector { public static function shouldDebugRequest(Minify_Env $env) { if ($env->get('debug') !== null) { return true; } $cookieValue = $env->cookie('minifyDebug'); if ($cookieValue) { foreach (preg_split('/\\s+/', $cookieValue) as $debugUri) { $pattern = '@' . preg_quote($debugUri, '@') . '@i'; $pattern = str_replace(array('\\*', '\\?'), array('.*', '.'), $pattern); if (preg_match($pattern, $env->getRequestUri())) { return true; } } } return false; } }
[+]
JS
[-] ImportProcessor.php
[edit]
[-] YUICompressor.php
[edit]
[+]
Source
[-] CSSmin.php
[edit]
[-] ServeConfiguration.php
[edit]
[+]
Cache
[-] ScssCssSource.php
[edit]
[-] CSS.php
[edit]
[-] CacheInterface.php
[edit]
[-] HTML.php
[edit]
[-] NailgunClosureCompiler.php
[edit]
[+]
..
[-] Config.php
[edit]
[+]
Controller
[-] LessCssSource.php
[edit]
[+]
Logger
[-] SourceSet.php
[edit]
[-] Build.php
[edit]
[+]
CSS
[-] Packer.php
[edit]
[-] DebugDetector.php
[edit]
[-] App.php
[edit]
[-] Lines.php
[edit]
[-] ControllerInterface.php
[edit]
[-] SourceInterface.php
[edit]
[+]
HTML
[-] CommentPreserver.php
[edit]
[-] ClosureCompiler.php
[edit]
[-] Source.php
[edit]
[-] Env.php
[edit]