Vergleich admin/attachments.php - 1.2.7 - 1.2.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: attachments.php 2995 2007-04-06 04:34:05Z Tikitiki $

 * $Id: attachments.php 3306 2007-09-13 05:29:43Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 57Zeile 57
	// add new type to database
if(($mybb->input['extension'] || $mybb->input['mimetype']) && $mybb->input['maxsize'])
{

	// add new type to database
if(($mybb->input['extension'] || $mybb->input['mimetype']) && $mybb->input['maxsize'])
{

 
		if($mybb->input['extension'] && $mybb->input['extension']{0} == '.')
{
$mybb->input['extension'] = substr($mybb->input['extension'], 1);
}

		$sqlarray = array(
"mimetype" => $db->escape_string($mybb->input['mimetype']),
"extension" => $db->escape_string($mybb->input['extension']),

		$sqlarray = array(
"mimetype" => $db->escape_string($mybb->input['mimetype']),
"extension" => $db->escape_string($mybb->input['extension']),