Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: upgrade3.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id$
|
*/
/**
| */
/**
|
Zeile 88 | Zeile 88 |
---|
} else {
|
} else {
|
$app = $_POST['attachmentspage'];
| $app = (int)$_POST['attachmentspage'];
|
}
if($_POST['attachmentstart']) {
|
}
if($_POST['attachmentstart']) {
|
$startat = $_POST['attachmentstart'];
| $startat = (int)$_POST['attachmentstart'];
|
$upper = $startat+$app; $lower = $startat; }
| $upper = $startat+$app; $lower = $startat; }
|
Zeile 228 | Zeile 228 |
---|
} else {
|
} else {
|
$app = $_POST['userspage'];
| $app = (int)$_POST['userspage'];
|
}
if($_POST['avatarstart']) {
|
}
if($_POST['avatarstart']) {
|
$startat = $_POST['avatarstart'];
| $startat = (int)$_POST['avatarstart'];
|
$upper = $startat+$app; $lower = $startat; }
| $upper = $startat+$app; $lower = $startat; }
|
Zeile 483 | Zeile 483 |
---|
disporder smallint(6) NOT NULL default '0', isdefault char(3) NOT NULL default '', PRIMARY KEY (gid)
|
disporder smallint(6) NOT NULL default '0', isdefault char(3) NOT NULL default '', PRIMARY KEY (gid)
|
) TYPE=MyISAM{$collation};");
| ) ENGINE=MyISAM{$collation};");
|
$db->drop_table("settings"); $db->write_query("CREATE TABLE ".TABLE_PREFIX."settings (
| $db->drop_table("settings"); $db->write_query("CREATE TABLE ".TABLE_PREFIX."settings (
|
Zeile 496 | Zeile 496 |
---|
disporder smallint(6) NOT NULL default '0', gid smallint(6) NOT NULL default '0', PRIMARY KEY (sid)
|
disporder smallint(6) NOT NULL default '0', gid smallint(6) NOT NULL default '0', PRIMARY KEY (sid)
|
) TYPE=MyISAM{$collation};");
| ) ENGINE=MyISAM{$collation};");
|
$db->drop_table("datacache"); $db->write_query("CREATE TABLE ".TABLE_PREFIX."datacache ( title varchar(30) NOT NULL default '', cache mediumtext NOT NULL, PRIMARY KEY(title)
|
$db->drop_table("datacache"); $db->write_query("CREATE TABLE ".TABLE_PREFIX."datacache ( title varchar(30) NOT NULL default '', cache mediumtext NOT NULL, PRIMARY KEY(title)
|
) TYPE=MyISAM{$collation};");
| ) ENGINE=MyISAM{$collation};");
|
$contents .= "<p>Done</p>"; $contents .= "<p>Dropping settings and rebuilding them...";
| $contents .= "<p>Done</p>"; $contents .= "<p>Dropping settings and rebuilding them...";
|