1
0
mirror of https://github.com/mrclay/minify.git synced 2025-01-16 20:58:13 +01:00

fix debugdetector

current docs say append '&debug' to url, therefore 'debug' parameter has no value.
This commit is contained in:
Elan Ruusamäe 2016-01-22 09:05:49 +02:00
parent 9de4e927c7
commit 0b466c0892

View File

@ -9,7 +9,7 @@
class Minify_DebugDetector {
public static function shouldDebugRequest(Minify_Env $env)
{
if ($env->get('debug')) {
if ($env->get('debug') !== null) {
return true;
}
$cookieValue = $env->cookie('minifyDebug');