Upgrades SMF 2.0 to 2.0.1 แบบลงมือ ManualFile Edits./index.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
$forum_version = 'SMF 2.0';
แทนที่ด้วย :
$forum_version = 'SMF 2.0.1';
./Sources/Subs-Menu.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
./Sources/Subs-Members.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
create_function('$string', ' $num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string;' . (empty($context['utf8']) ? ' return $num < 0x20 ? \'\' : ($num < 0x80 ? chr($num) : \'&#\' . $string . \';\');' : '
แทนที่ด้วย :
create_function('$string', ' $num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string; if ($num === 0x202E || $num === 0x202D) return \'\'; if (in_array($num, array(0x22, 0x26, 0x27, 0x3C, 0x3E))) return \'&#\' . $num . \';\';' . (empty($context['utf8']) ? 'return $num < 0x20 ? \'\' : ($num < 0x80 ? chr($num) : \'&#\' . $string . \';\');' : '
./Sources/Load.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
create_function('$string', ' $num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string; return $num < 0x20 || $num > 0x10FFFF || ($num >= 0xD800 && $num <= 0xDFFF) || $num == 0x202E ? \'\' : \'&#\' . $num . \';\';'),
แทนที่ด้วย :
create_function('$string', ' $num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string; return $num < 0x20 || $num > 0x10FFFF || ($num >= 0xD800 && $num <= 0xDFFF) || $num === 0x202E || $num === 0x202D ? \'\' : \'&#\' . $num . \';\';'),
./Sources/ManageMaintenance.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
$_POST['maxdays'] = (int) $_POST['maxdays']; if (!empty($_POST['groups']) && $_POST['maxdays'])
แทนที่ด้วย :
$_POST['maxdays'] = empty($_POST['maxdays']) ? 0 : (int) $_POST['maxdays']; if (!empty($_POST['groups']) && $_POST['maxdays'] > 0)
./Sources/Subs-Package.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
// Build an array of parts. $versions[$id] = array( 'major' => (int) $parts[1], 'minor' => (int) $parts[2], 'patch' => (int) $parts[3], 'type' => empty($parts[4]) ? 'stable' : $parts[4], 'type_major' => (int) $parts[5], 'type_minor' => (int) $parts[6], 'dev' => !empty($parts[7]), );
แทนที่ด้วย :
// Build an array of parts. $versions[$id] = array( 'major' => (int) $parts[1], 'minor' => !empty($parts[2]) ? (int) $parts[2] : 0, 'patch' => !empty($parts[3]) ? (int) $parts[3] : 0, 'type' => empty($parts[4]) ? 'stable' : $parts[4], 'type_major' => !empty($parts[6]) ? (int) $parts[5] : 0, 'type_minor' => !empty($parts[6]) ? (int) $parts[6] : 0, 'dev' => !empty($parts[7]), );
./Sources/ModerationCenter.phpค้นหา :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0
แทนที่ด้วย :
* @copyright 2011 Simple Machines * @license http://www.simplemachines.org/about/smf/license.php BSD * * @version 2.0.1
ค้นหา :
$menuOptions = array( 'action' => 'moderate', );
แทนที่ด้วย :
$menuOptions = array( 'action' => 'moderate', 'disable_url_session_check' => true, );
เครดิต
simplemachines.orgลิงค์หัวข้อ:
http://dexmore.com/topic/8717