Changeset 1663 in ExiteCMS for trunk/setup.php
- Timestamp:
- 08/21/08 19:14:34 (4 years ago)
- File:
-
- 1 edited
-
trunk/setup.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/setup.php
r1661 r1663 388 388 } else { 389 389 390 // update installation specific configuration items 391 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$basedir."' WHERE cfg_name = 'siteurl'"); 392 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$username."' WHERE cfg_name = ''siteusername"); 393 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".$localeset."' WHERE cfg_name = 'locale'"); 394 390 395 // create the admin rights field for the webmaster, based on all admin modules available 391 396 $result = dbquery("SELECT admin_rights FROM ".$db_prefix."admin"); … … 424 429 $result = dbcommands($commands, $db_prefix); 425 430 426 // add the standard modules to make them pre-installed 427 $commands = array(); 428 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##modules (mod_title, mod_folder, mod_version) VALUES ('Main menu panel', 'main_menu_panel', '1.0.0')"); 429 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##modules (mod_title, mod_folder, mod_version) VALUES ('Advanced login panel', 'user_info_panel', '1.0.0')"); 430 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##modules (mod_title, mod_folder, mod_version) VALUES ('Welcome message panel', 'welcome_message_panel', '1.0.0')"); 431 $result = dbcommands($commands, $db_prefix); 432 433 // and activate the panels of these modules 431 // activate the panels of core modules 434 432 $commands = array(); 435 433 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##panels (panel_name, panel_filename, panel_side, panel_order, panel_type, panel_access, panel_display, panel_status) VALUES ('".addslashes($locale['520'])."', 'main_menu_panel', '1', '1', 'file', '0', '0', '1')"); … … 462 460 463 461 // add the ExiteCMS core report options 462 463 /* NOT IMPLEMENTED YET */ 464 464 465 465 // add the default forum poll settings
Note: See TracChangeset
for help on using the changeset viewer.
