Vergleich admin/modules/style/themes.php - 1.4.10 - 1.4.15

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

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id$

 * $Id: themes.php 5379 2011-02-21 11:06:42Z Tomm $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 143Zeile 143
							break;
case 3: // UPLOAD_ERR_PARTIAL
$errors[] = $lang->error_uploadfailed_php3;

							break;
case 3: // UPLOAD_ERR_PARTIAL
$errors[] = $lang->error_uploadfailed_php3;

							break;
case 4: // UPLOAD_ERR_NO_FILE
$errors[] = $lang->error_uploadfailed_php4;

 
							break;
case 6: // UPLOAD_ERR_NO_TMP_DIR
$errors[] = $lang->error_uploadfailed_php6;

							break;
case 6: // UPLOAD_ERR_NO_TMP_DIR
$errors[] = $lang->error_uploadfailed_php6;

Zeile 160Zeile 157
				}

if(!$errors)

				}

if(!$errors)

				{

				{

					// Was the temporary file found?
if(!is_uploaded_file($_FILES['local_file']['tmp_name']))
{
$errors[] = $lang->error_uploadfailed_lost;

					// Was the temporary file found?
if(!is_uploaded_file($_FILES['local_file']['tmp_name']))
{
$errors[] = $lang->error_uploadfailed_lost;

					}

					}

					// Get the contents
$contents = @file_get_contents($_FILES['local_file']['tmp_name']);
// Delete the temporary file if possible

					// Get the contents
$contents = @file_get_contents($_FILES['local_file']['tmp_name']);
// Delete the temporary file if possible

Zeile 175Zeile 172
					{
$errors[] = $lang->error_uploadfailed_nocontents;
}

					{
$errors[] = $lang->error_uploadfailed_nocontents;
}

				}

				}

			}
else if(!empty($mybb->input['url']))
{

			}
else if(!empty($mybb->input['url']))
{

Zeile 185Zeile 182
				{
$errors[] = $lang->error_local_file;
}

				{
$errors[] = $lang->error_local_file;
}

 
			}
else
{
// UPLOAD_ERR_NO_FILE
$errors[] = $lang->error_uploadfailed_php4;

			}

if(!$errors)

			}

if(!$errors)