mirror of
https://github.com/mrclay/minify.git
synced 2025-08-06 22:26:28 +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 {
|
||||
public static function shouldDebugRequest(Minify_Env $env)
|
||||
{
|
||||
if ($env->get('debug')) {
|
||||
if ($env->get('debug') !== null) {
|
||||
return true;
|
||||
}
|
||||
$cookieValue = $env->cookie('minifyDebug');
|
||||
|
Reference in New Issue
Block a user