Переглянути джерело

allow full reload from GET elseif(($ID = V::get('doReloadCache', 0, $_GET, 'string')) == 'full') $this->doReloadCache('full');

a.binder 8 роки тому
батько
коміт
992cc6f6ce
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

+ 6 - 0
SE/se-lib/Route/UrlAction/BiAuditGenerate.php

@@ -940,6 +940,8 @@ function validateCompany(source) {
 				default: SE_Layout::alert('danger', 'Błąd parametru');
 			}
 		}
+		elseif(($ID = V::get('doReloadCache', 0, $_GET, 'string')) == 'full')  $this->doReloadCache('full');
+		elseif(($ID = V::get('doReloadCache', 0, $_GET, 'string'))) $this->doReloadCache();
 		else SE_Layout::alert('danger', 'Błąd parametru');
 		SE_Layout::dol();
 	}
@@ -1849,6 +1851,10 @@ SQL;
 			else throw new Exception($e->getMessage());
 		}
 	}
+	
+	
+	
+	
 
 	public static function doGeneratePowiazania($ID) {
 		$powiazaniaDirLocation = self::getMainDirectory();