Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: upgrade3.php 2204 2006-09-07 23:57:07Z Tikitiki $
| * $Id: upgrade3.php 2932 2007-03-10 05:48:55Z chris $
|
*/
/**
| */
/**
|
Zeile 103 | Zeile 103 |
---|
$lower = 1; }
|
$lower = 1; }
|
require_once MYBB_ROOT."/inc/settings.php";
| require_once MYBB_ROOT."inc/settings.php";
|
$query = $db->query("SELECT COUNT(aid) AS attachcount FROM ".TABLE_PREFIX."attachments"); $cnt = $db->fetch_array($query);
| $query = $db->query("SELECT COUNT(aid) AS attachcount FROM ".TABLE_PREFIX."attachments"); $cnt = $db->fetch_array($query);
|
Zeile 156 | Zeile 156 |
---|
unset($attachment['filedata']); if($ext == "gif" || $ext == "png" || $ext == "jpg" || $ext == "jpeg" || $ext == "jpe") {
|
unset($attachment['filedata']); if($ext == "gif" || $ext == "png" || $ext == "jpg" || $ext == "jpeg" || $ext == "jpe") {
|
require_once MYBB_ROOT."/inc/functions_image.php";
| require_once MYBB_ROOT."inc/functions_image.php";
|
$thumbname = str_replace(".attach", "_thumb.$ext", $filename); $thumbnail = generate_thumbnail("../uploads/".$filename, "../uploads", $thumbname, $settings['attachthumbh'], $settings['attachthumbw']); if($thumbnail['code'] == 4)
| $thumbname = str_replace(".attach", "_thumb.$ext", $filename); $thumbnail = generate_thumbnail("../uploads/".$filename, "../uploads", $thumbname, $settings['attachthumbh'], $settings['attachthumbw']); if($thumbnail['code'] == 4)
|
Zeile 229 | Zeile 229 |
---|
$lower = 1; }
|
$lower = 1; }
|
require_once MYBB_ROOT."/inc/settings.php";
| require_once MYBB_ROOT."inc/settings.php";
|
$query = $db->query("SELECT COUNT(uid) AS avatarcount FROM ".TABLE_PREFIX."avatars"); $cnt = $db->fetch_array($query);
| $query = $db->query("SELECT COUNT(uid) AS avatarcount FROM ".TABLE_PREFIX."avatars"); $cnt = $db->fetch_array($query);
|
Zeile 776 | Zeile 776 |
---|
echo "Done</p>";
|
echo "Done</p>";
|
$contents .= "<font color=\red\"><b>WARNING:</font> The next step will delete any custom themes or templates you have! Please back them up before continuing!</p>";
| $contents .= "<span style=\"color: red; font-weight: bold;\">WARNING:</span> The next step will delete any custom themes or templates you have! Please back them up before continuing!</p>";
|
$output->print_contents($contents); $output->print_footer("3_done"); }
| $output->print_contents($contents); $output->print_footer("3_done"); }
|