mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
Stop being too paranoid about hacking of includes containing only fully inclusive functions
git-svn-id: file:///svn/phpbb/trunk@2328 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -28,11 +28,6 @@
|
||||
*
|
||||
\***************************************************************************/
|
||||
|
||||
if ( !defined('IN_PHPBB') )
|
||||
{
|
||||
die("Hacking attempt");
|
||||
}
|
||||
|
||||
//
|
||||
// remove_comments will strip the sql comment lines out of an uploaded sql file
|
||||
// specifically for mssql and postgres type files in the install....
|
||||
@@ -67,6 +62,7 @@ function remove_comments(&$output)
|
||||
unset($lines);
|
||||
return $output;
|
||||
}
|
||||
|
||||
//
|
||||
// remove_remarks will strip the sql comment lines out of an uploaded sql file
|
||||
//
|
||||
@@ -192,4 +188,5 @@ function split_sql_file($sql, $delimiter)
|
||||
|
||||
return $output;
|
||||
}
|
||||
?>
|
||||
|
||||
?>
|
Reference in New Issue
Block a user