|
@@ 90-94 (lines=5) @@
|
| 87 |
|
// Result |
| 88 |
|
if ($xoopsDB->getRowsNum($result) == 1 && $count) { |
| 89 |
|
// Debug Mode |
| 90 |
|
if ($old_debug_mode != $debug_mode) { |
| 91 |
|
$sql = 'UPDATE ' . $xoopsDB->prefix('config') . ' SET conf_value="' . $debug_mode . '" WHERE conf_name="debug_mode" and conf_modid=0'; |
| 92 |
|
$result = $xoopsDB->queryF($sql); |
| 93 |
|
$old_debug_mode = $debug_mode; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
// Theme |
| 97 |
|
if ($theme == 1) { |
|
@@ 143-146 (lines=4) @@
|
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
// Protector |
| 143 |
|
if ($old_protector != $protector && $isProtector) { |
| 144 |
|
$sql = 'UPDATE ' . $xoopsDB->prefix('config') . ' SET conf_value="' . $protector . '" WHERE conf_name="global_disabled" AND conf_modid=' . $isProtector->getVar('mid'); |
| 145 |
|
$result = $xoopsDB->queryF($sql); |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
if ($protector_ip && $isProtector) { |
| 149 |
|
$sql = 'TRUNCATE TABLE ' . $xoopsDB->prefix('protector_access'); |