patch #455752 - Check forbidden words thanks to Dell'Aiera Pol & Olivier Blin
This commit is contained in:
@@ -9,6 +9,17 @@ require('./grab_globals.inc.php3');
|
||||
require('./header.inc.php3');
|
||||
|
||||
|
||||
/**
|
||||
* Ensures the db name is valid
|
||||
*/
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$db = stripslashes($db);
|
||||
}
|
||||
if (MYSQL_INT_VERSION < 32306) {
|
||||
check_reserved_words($db);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Executes the db creation sql query
|
||||
*/
|
||||
|
Reference in New Issue
Block a user