Vergleich admin/attachments.php - 1.2.8 - 1.2.11

  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 3030 2007-04-26 00:19:47Z 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']),