1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

EONE-134 - prevent bad e_module to cause critical damage

This commit is contained in:
secretr
2010-10-27 11:26:21 +00:00
parent 6424eaafdd
commit c11685e482

View File

@@ -738,6 +738,8 @@ if (!class_exists('e107table', false))
//DEPRECATED, BC, call the method only when needed, $e107->ns caught by __get()
$ns = e107::getRender(); //TODO - find & replace $ns, $e107->ns
// EONE-134 - bad e_module could destroy e107 instance
$e107 = e107::getInstance();
$e107->ban();
if(varset($pref['force_userupdate']) && USER && !isset($_E107['no_forceuserupdate']))