Changeset 1502 in ExiteCMS for trunk/includes/dbsetup_include.php
- Timestamp:
- 07/02/08 08:50:05 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/dbsetup_include.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/dbsetup_include.php
r1496 r1502 2 2 //---------------------------------------------------------- 3 3 // ExiteCMS file : dbsetup_include.php 4 // Date generated : `01/07/2008 22:00` 5 // Generated by : `WanWizard` 4 // Date generated : `02/07/2008 08:40` 6 5 //---------------------------------------------------------- 7 6 8 define('CMS_VERSION', '7. 20');7 define('CMS_VERSION', '7.10'); 9 8 define('CMS_REVISION', '1500'); 10 9 … … 228 227 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('locale', 'English')"); 229 228 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_expire', '7200')"); 230 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_extended_expire', ' 604800')");229 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_extended_expire', '84600')"); 231 230 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('longdate', '%m/%d/%Y %H:%M:%S')"); 232 231 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('maintenance', '0')"); … … 234 233 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('maintenance_message', '')"); 235 234 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users', '0')"); 236 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users_datestamp', ' 1193029685')");235 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users_datestamp', '0')"); 237 236 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('navbar_range', '5')"); 238 237 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('newsletter_email', 'noreply@example.com')"); … … 265 264 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('session_name', 'ExiteCMSid')"); 266 265 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('shortdate', '%m/%d/%Y')"); 267 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteemail', 'web master@example.com')");266 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteemail', 'website@example.com')"); 268 267 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteintro', '<center>\r\n<b>This website is under construction at the moment!</b><br /><br />\r\nExiteCMS v7.2 ©2008 Exite BV.</center>')"); 269 268 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('sitelinks_localisation', 'none')"); … … 286 285 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('unread_threshold', '90')"); 287 286 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('validation_method', 'image')"); 288 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('version', '7. 20')");287 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('version', '7.10')"); 289 288 } 290 289 … … 850 849 851 850 // 852 // Code to create table `report ing`853 // 854 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."report ing");855 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."report ing(851 // Code to create table `reports` 852 // 853 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."reports"); 854 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."reports ( 856 855 `report_id` smallint(5) unsigned NOT NULL auto_increment, 857 `report_ident` varchar(4) NOT NULL default '', 858 `report_title` varchar(50) NOT NULL default '', 859 `report_active` tinyint(1) NOT NULL default 0, 860 `report_groups` text NOT NULL, 861 `report_code` text NOT NULL, 856 `report_mod_id` smallint(5) unsigned NOT NULL default 0, 857 `report_name` varchar(100) NOT NULL default '', 858 `report_title` varchar(100) NOT NULL default '', 859 `report_version` varchar(10) NOT NULL default '0', 860 `report_active` tinyint(1) unsigned NOT NULL default 0, 861 `report_visibility` tinyint(3) NOT NULL default 0, 862 862 PRIMARY KEY (`report_id`) 863 863 ) ENGINE=MyISAM;"); 864 864 if (!$result) { 865 865 $fail = "1"; 866 $failed[] = "reporting : ".mysql_error(); 866 $failed[] = "reports : ".mysql_error(); 867 } 868 869 // 870 // Code to create table `searches` 871 // 872 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."searches"); 873 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."searches ( 874 `search_id` smallint(5) unsigned NOT NULL auto_increment, 875 `search_mod_id` smallint(5) unsigned NOT NULL default 0, 876 `search_name` varchar(100) NOT NULL default '', 877 `search_title` varchar(100) NOT NULL default '', 878 `search_version` varchar(10) NOT NULL default '0', 879 `search_visibility` tinyint(3) NOT NULL default 0, 880 PRIMARY KEY (`search_id`) 881 ) ENGINE=MyISAM;"); 882 if (!$result) { 883 $fail = "1"; 884 $failed[] = "searches : ".mysql_error(); 867 885 } 868 886
Note: See TracChangeset
for help on using the changeset viewer.
