PATH:
home
/
letacommog
/
charpente-ain
/
wp-content
/
plugins
/
w3-total-cache
/
lib
/
Minify
/
Minify
<?php /** * Detect whether request should be debugged * * @package Minify * @author Stephen Clay <steve@mrclay.org> */ class Minify_DebugDetector { public static function shouldDebugRequest($cookie, $get, $requestUri) { if (isset($get['debug'])) { return true; } if (! empty($cookie['minifyDebug'])) { foreach (preg_split('/\\s+/', $cookie['minifyDebug']) as $debugUri) { $pattern = '@' . preg_quote($debugUri, '@') . '@i'; $pattern = str_replace(array('\\*', '\\?'), array('.*', '.'), $pattern); if (preg_match($pattern, $requestUri)) { return true; } } } return false; } }
[+]
..
[-] ClosureCompiler.php
[edit]
[-] ImportProcessor.php
[edit]
[-] CombineOnly.php
[edit]
[+]
YUI
[-] HTML.php
[edit]
[-] Inline.php
[edit]
[+]
JS
[+]
HTML
[+]
Cache
[-] Build.php
[edit]
[-] YUICompressor.php
[edit]
[-] index.html
[edit]
[-] Source.php
[edit]
[+]
Inline
[-] CommentPreserver.php
[edit]
[+]
Controller
[-] IgnoredCommentPreserver.php
[edit]
[-] CSS.php
[edit]
[-] HTMLTidy.php
[edit]
[-] Loader.php
[edit]
[+]
CSS
[-] Logger.php
[edit]
[-] DebugDetector.php
[edit]
[-] CSSTidy.php
[edit]
[-] Packer.php
[edit]
[-] Lines.php
[edit]