Revision 657
Added by thorn almost 18 years ago
| save.php | ||
|---|---|---|
| 149 | 149 |
case 'string_file_mode': |
| 150 | 150 |
$value=$file_mode; |
| 151 | 151 |
break; |
| 152 |
case 'pages_directory': |
|
| 153 |
if(trim($value)=='/') $value=''; |
|
| 154 |
break; |
|
| 152 | 155 |
} |
| 153 | 156 |
$database->query("UPDATE ".TABLE_PREFIX."settings SET value = '$value' WHERE name = '$setting_name'");
|
| 154 | 157 |
} |
Also available in: Unified diff
Settings: pages-directory '/' will be converted to '' (empty string) on save.
Changed last remaining call to my_htmlspecialchars() to htmlspecialchars()