The city of Dubrovnik, Croatia has been turned into an Axis clearing house for looted art and gold. A shipment of gold is being stored in a heavily reinforced church, awaiting transport to Germany.
The Allied strike team,
What if O'Reilly decided to use PHP-Nuke for an "O'Reilly website"? He might find out the single quote in his name made it impossible to save the site's name in
the Preferences of the administration panel (see Section 7.2).
Single quotes ('), double quotes (") and backslashes (\) need to be quoted in strings that will be entered in a database. This is done by the PHP addslashes function. Conversely, the PHP
stripslashes function returns a string with backslashes stripped off (\' becomes ' and so on). To enable the use of single quotes in the site's name, do the following:
Add the line
$sitename = stripslashes($sitename);
in mainfile.php, after the line that computes $sitename. According to your PHP-Nuke version, this line may be
(we basically replace single quotes with escaped double ones in the above line, so that the single quote(s) in $sitename don't mess up the code). Finally , while still in
admin/modules/settings.php, find the line
global $prefix, $dbi;
in function ConfigSave and add the following line after it: