Diff for Metafox/admin/inc-db/config.inc.php between version 1.4 and 1.5
| version 1.4, 2006/09/15 08:28:41 |
version 1.5, 2006/11/09 10:23:12 |
| Line 562 function ezin_admin_config_db_items($nam |
|
| Line 562 function ezin_admin_config_db_items($nam |
|
| |
|
| function ezin_admin_config_save() /* {{{ */ |
function ezin_admin_config_save() /* {{{ */ |
| { |
{ |
| global $ezin_sys; |
global $ezin_sys, $ezin_cfg; |
| global $ezin_db_handle; |
global $ezin_db_handle; |
| global $ezin_admin_config_items; |
global $ezin_admin_config_items; |
| global $ezin_admin_config_triggers; |
global $ezin_admin_config_triggers; |
| Line 605 function ezin_admin_config_save() /* {{{ |
|
| Line 605 function ezin_admin_config_save() /* {{{ |
|
| } |
} |
| |
|
| $value = stripslashes($value); |
$value = stripslashes($value); |
| $value = str_replace(chr(160), chr(32), $value); // Brutus "space" hack |
if (strncasecmp($ezin_cfg['encoding'], 'utf', 3)) { |
| |
$value = str_replace(chr(160), chr(32), $value); // Brutus "space" hack |
| |
} |
| |
|
| /* We are going to try evalcode, if it is correct and without |
/* We are going to try evalcode, if it is correct and without |
| errors. If error occured, default error handler will stop |
errors. If error occured, default error handler will stop |
Platon Group <platon@platon.org> http://platon.org/
|
|