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

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
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)