Changeset 834 in ExiteCMS for trunk/administration/upgrade/rev00800.php
- Timestamp:
- 09/22/07 00:08:35 (5 years ago)
- File:
-
- 1 edited
-
trunk/administration/upgrade/rev00800.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/upgrade/rev00800.php
r807 r834 1 1 <?php 2 2 /*---------------------------------------------------+ 3 | PLi-Fusion Content Management System|3 | ExiteCMS Content Management System | 4 4 +----------------------------------------------------+ 5 | Copyright 2007 WanWizard (wanwizard@gmail.com)|6 | http://www.pli-images.org/pli-fusion|5 | Copyright 2007 Harro "WanWizard" Verton, Exite BV | 6 | for support, please visit http://exitecms.exite.eu | 7 7 +----------------------------------------------------+ 8 | code to make the changes to upgrade to this rev.nr.| 8 | Some portions copyright 2002 - 2006 Nick Jones | 9 | http://www.php-fusion.co.uk/ | 10 +----------------------------------------------------+ 11 | Released under the terms & conditions of v2 of the | 12 | GNU General Public License. For details refer to | 13 | the included gpl.txt file or visit http://gnu.org | 9 14 +----------------------------------------------------*/ 10 15 … … 12 17 $_revision = 800; 13 18 14 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' IN_FUSION')) die();19 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 15 20 16 21 // make sure the required array's exist … … 19 24 20 25 // register this revision update 21 $revisions[] = array('revision' => $_revision, 'date' => mktime(12,0,0,9,1,2007), 'description' => "Required updates for PLi-Fusionv7.00 rev.".$_revision);26 $revisions[] = array('revision' => $_revision, 'date' => mktime(12,0,0,9,1,2007), 'description' => "Required updates for ExiteCMS v7.00 rev.".$_revision); 22 27 23 28 // array to store the commands of this update … … 27 32 28 33 // rename the main menu navigation panel 29 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##site_links SET panel_name = 'main_menu_panel WHERE panel_name = 'navigation_panel'");34 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##site_links SET panel_name = 'main_menu_panel' WHERE panel_name = 'navigation_panel'"); 30 35 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##panels SET panel_filename = 'main_menu_panel' WHERE panel_filename = 'navigation_panel'"); 31 36 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##admin SET admin_title = 'Menu System' WHERE admin_rights = 'SL'"); … … 33 38 // add the aidlink switch to the site_links table 34 39 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##site_links ADD link_aid TINYINT(1) UNSIGNED DEFAULT '0' AFTER link_window"); 40 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##site_links ADD link_parent TINYINT(3) UNSIGNED DEFAULT '0' AFTER link_aid"); 35 41 36 42 // add the news_latest switch to the settings table
Note: See TracChangeset
for help on using the changeset viewer.
