mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 05:08:14 +01:00
fix debugdetector
current docs say append '&debug' to url, therefore 'debug' parameter has no value.
This commit is contained in:
parent
9de4e927c7
commit
0b466c0892
@ -9,7 +9,7 @@
|
|||||||
class Minify_DebugDetector {
|
class Minify_DebugDetector {
|
||||||
public static function shouldDebugRequest(Minify_Env $env)
|
public static function shouldDebugRequest(Minify_Env $env)
|
||||||
{
|
{
|
||||||
if ($env->get('debug')) {
|
if ($env->get('debug') !== null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$cookieValue = $env->cookie('minifyDebug');
|
$cookieValue = $env->cookie('minifyDebug');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user