// All rights reserved. This script is part of PHPWCMS. The PHPWCMS web content management system is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html A copy is found in the textfile GPL.txt and important notices to the license from the author is found in LICENSE.txt distributed with these scripts. This script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This copyright notice MUST APPEAR in all copies of the script! *************************************************************************************/ $phpwcms = array(); $_this_path = realpath(dirname(__FILE__).'/../'); if(is_file($_this_path.'/config/phpwcms/conf.inc.php')) { require_once ($_this_path.'/config/phpwcms/conf.inc.php'); } else { die('Please proof location of "conf.inc.php".'); } if (!defined('PHPWCMS_INCLUDE_CHECK')) { define('PHPWCMS_INCLUDE_CHECK', true); } require_once ($_this_path.'/include/inc_lib/default.inc.php'); require_once (PHPWCMS_ROOT.'/include/inc_lib/dbcon.inc.php'); require_once (PHPWCMS_ROOT.'/include/inc_lib/general.inc.php'); require_once (PHPWCMS_ROOT.'/include/inc_lib/backend.functions.inc.php'); require_once (PHPWCMS_ROOT.'/setup/inc/upgrade.func.inc.php'); ?>
|
||||||||||||||||||||||||||||||||
When upgrading from releases older than 1.1.9: There are some deeper changes. After upgrading db frame the following When upgrading from releases older than 1.2.9:When upgrading from releases older than 1.3.1:6) UPGRADE CONTENT PART MULTIMEDIA Update old default article end date 2010-12-31, 23:59:59:8) SET ARTICLE END 2010-12-31, 23:59:59 plus 20 YEARS '; echo ''; echo '';
foreach($sql as $key => $value) {
$value = trim($value);
if(!$value) {
unset($sql[$key]);
} else {
if($phpwcms['db_version'] > 40100 && $phpwcms['db_charset']=='utf8') {
$value = utf8_encode($value);
}
if(!mysql_query($value)) echo 'ERROR: '.html_entities(@mysql_error())." -> ";
echo html_specialchars($value).";\n";
}
}
echo ' ';
} else {
?>
|
||||||||||||||||||||||||||||||||
phpwcms © 2003— Oliver Georgi. Licensed under GPL. Extensions are copyright of their respective owners. | ||||||||||||||||||||||||||||||||