Diff for Metafox/admin/inc-db/config.inc.php between version 1.13 and 1.14
| version 1.13, 2007/11/17 20:01:01 |
version 1.14, 2009/11/14 21:52:17 |
| Line 623 function ezin_admin_config_save() /* {{{ |
|
| Line 623 function ezin_admin_config_save() /* {{{ |
|
| } |
} |
| |
|
| $value = stripslashes($value); |
$value = stripslashes($value); |
| |
|
| |
// Browser space hack |
| |
// http://lua-users.org/lists/lua-l/2008-10/msg00244.html |
| |
$value = str_replace(chr(0xC2).chr(0xA0), chr(32), $value); |
| |
|
| |
// Special "space" hack (for non-utf only) |
| if (strncasecmp($ezin_cfg['encoding'], 'utf', 3)) { |
if (strncasecmp($ezin_cfg['encoding'], 'utf', 3)) { |
| $value = str_replace(chr(160), chr(32), $value); // Brutus "space" hack |
$value = str_replace(chr(160), chr(32), $value); |
| } |
} |
| |
|
| /* We are going to try evalcode, if it is correct and without |
/* We are going to try evalcode, if it is correct and without |
Platon Group <platon@platon.org> http://platon.org/
|
|