Explorar o código

default hide DBG for bocian fetchProgressAjax

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
106fe0c46d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SE/se-lib/DBG.php

+ 1 - 0
SE/se-lib/DBG.php

@@ -256,6 +256,7 @@ class DBG {
 	public static function log($mixedArg, $type = '', $msg = '') {
 		if (!self::isActive() && !self::isLogActiveByAdmin()) return;
 		if ('Debug' == V::get('_route', '', $_REQUEST) && !V::get('DBG', '', $_REQUEST)) return;
+		if ('UrlAction_Bocian' == V::get('_route', '', $_REQUEST) && 'fetchProgressAjax' == V::get('_task', '', $_REQUEST) && !V::get('DBG', '', $_REQUEST)) return;
 		static $_firstRun = true;
 		if ($_firstRun) {
 			$_firstRun = false;