mirror of
https://github.com/mrclay/minify.git
synced 2025-08-01 20:00:42 +02:00
fix debugdetector
current docs say append '&debug' to url, therefore 'debug' parameter has no value.
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user