Go to the source code of this file.
Classes | |
| class | WizardTools |
| class | WizardView |
| class | WizardIntro |
| class | WizardStepOne |
| class | WizardStepTwo |
| class | WizardStepThree |
| class | WizardStepFour |
| class | WizardStepFive |
| class | UpdateStepOne |
| class | UpdateStepTwo |
| class | UpdateStepThree |
| class | UpdateStepFour |
Enumerations | |
| enum | DB_WIZARD_DEBUG |
| enum | WIZARD_MAX_RECORDS_PER_STEP |
| enum | WIZARD_MAX_RECORDS_THRESHOLD |
| enum | TEMP_FOLDER |
Functions | |
| connectDb ($ignoreError=false, $selectDatabase=true) | |
| getDbPrefix () | |
Variables | |
| $_actionMap ["Default"] = "WizardIntro" | |
| $_actionMap ["Intro"] = "WizardIntro" | |
| $_actionMap ["Step1"] = "WizardStepOne" | |
| $_actionMap ["Step2"] = "WizardStepTwo" | |
| $_actionMap ["Step3"] = "WizardStepThree" | |
| $_actionMap ["Step4"] = "WizardStepFour" | |
| $_actionMap ["Step5"] = "WizardStepFive" | |
| $_actionMap ["Update1"] = "UpdateStepOne" | |
| $_actionMap ["Update2"] = "UpdateStepTwo" | |
| $_actionMap ["Update3"] = "UpdateStepThree" | |
| $_actionMap ["Update4"] = "UpdateStepFour" | |
| $Tables [0]["desc"] = "Articles" | |
| $Tables [0]["code"] | |
| $Tables [1]["desc"] = "Article categories" | |
| $Tables [1]["code"] | |
| $Tables [2]["desc"] = "Comments" | |
| $Tables [2]["code"] | |
| $Tables [3]["desc"] = "Notifications" | |
| $Tables [3]["code"] | |
| $Tables [4]["desc"] = "Blogs" | |
| $Tables [4]["code"] | |
| $Tables [5]["desc"] = "MyLinks" | |
| $Tables [5]["code"] | |
| $Tables [6]["desc"] = "MyLinks Categories" | |
| $Tables [6]["code"] | |
| $Tables [7]["desc"] = "MyRecent" | |
| $Tables [7]["code"] | |
| $Tables [8]["desc"] = "MyRecent categories" | |
| $Tables [8]["code"] | |
| $Tables [9]["desc"] = "Permissions" | |
| $Tables [9]["code"] | |
| $Tables [10]["desc"] = "Referrers" | |
| $Tables [10]["code"] | |
| $Tables [11]["desc"] = "Trackbacks" | |
| $Tables [11]["code"] | |
| $Tables [12]["desc"] = "Users" | |
| $Tables [12]["code"] | |
| $Tables [13]["desc"] = "Permissions" | |
| $Tables [13]["code"] | |
| $Tables [14]["desc"] = "Configuration" | |
| $Tables [14]["code"] | |
| $Tables [15]["desc"] = "Filtered Content" | |
| $Tables [15]["code"] | |
| $Tables [16]["desc"] = "Blocked content" | |
| $Tables [16]["code"] | |
| $Tables [17]["desc"] = "Gallery Resources" | |
| $Tables [17]["code"] | |
| $Tables [18]["desc"] = "Gallery Albums" | |
| $Tables [18]["code"] | |
| $Tables [19]["desc"] = "Bayesian Filter data table" | |
| $Tables [19]["code"] | |
| $Tables [20]["desc"] = "Bayesian Filter Information" | |
| $Tables [20]["code"] | |
| $Tables [21]["desc"] = "Map of categories to articles" | |
| $Tables [21]["code"] | |
| $Tables [22]["desc"] = "Definition of custom fields" | |
| $Tables [22]["code"] | |
| $Tables [23]["desc"] = "Custom fields that have been assigned to articles" | |
| $Tables [23]["code"] | |
| $Tables [24]["desc"] = "Text of the articles" | |
| $Tables [24]["code"] | |
| $Changes ["Articles"] | |
| $Changes ["Article Categories"] | |
| $Changes ["User Comments"] | |
| $Changes ["Notifications"] | |
| $Changes ["Blogs"] | |
| $Changes ["Referrers"] | |
| $Changes ["Trackbacks"] = Array( "ALTER TABLE {dbprefix}trackbacks ADD KEY article_id(article_id)" ) | |
| $Changes ["Filtered Content"] = Array( "ALTER TABLE {dbprefix}filtered_content ADD KEY blog_id(blog_id)" ) | |
| $Changes ["Blocked hosts"] = Array( "ALTER TABLE {dbprefix}host_blocking_rules ADD KEY blog_id(blog_id)" ) | |
| $Changes ["Gallery Albums"] | |
| $Changes ["Gallery Resources"] | |
| $Changes ["Links"] | |
| $Changes ["Links Categories"] | |
| $Changes ["Users"] | |
| $Changes ["Bayesian Filter data table"] = Array( "ALTER TABLE {dbprefix}bayesian_filter_info ADD KEY blog_id(blog_id)" ) | |
| $Changes ["Permissions"] | |
| $Inserts [0] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('comments_enabled','1',1);" | |
| $Inserts [1] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('rdf_enabled','1',1);" | |
| $Inserts [2] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('temp_folder','./tmp',3);" | |
| $Inserts [3] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('base_url','{plog_base_url}',3);" | |
| $Inserts [4] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('show_posts_max','15',1);" | |
| $Inserts [5] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('recent_posts_max','10',1);" | |
| $Inserts [6] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('default_template','standard',3);" | |
| $Inserts [7] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('template_folder','./templates',3);" | |
| $Inserts [8] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('default_blog_id','1',1);" | |
| $Inserts [9] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('default_locale','en_UK',3);" | |
| $Inserts [10] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('html_allowed_tags_in_comments','<a><i><br><br/><b>',3);" | |
| $Inserts [11] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('referer_tracker_enabled','1',1);" | |
| $Inserts [12] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('rss_parser_enabled','1',1);" | |
| $Inserts [13] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('show_more_enabled','1',1);" | |
| $Inserts [14] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('show_more_threshold','150',1);" | |
| $Inserts [15] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('update_article_reads','1',1);" | |
| $Inserts [16] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('email_service_enabled','1',1);" | |
| $Inserts [17] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('post_notification_source_address','noreply@your.host.com',3);" | |
| $Inserts [18] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('request_format_mode','1',1);" | |
| $Inserts [19] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('xmlrpc_ping_hosts','a:2:{i:0;s:27:\"http://rpc.weblogs.com/RPC2\";i:1;s:0:\"\";}',5);" | |
| $Inserts [20] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('trackback_server_enabled','1',1);" | |
| $Inserts [21] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('htmlarea_enabled','1',1);" | |
| $Inserts [22] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('plugin_manager_enabled','1',1);" | |
| $Inserts [23] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('check_email_address_validity','0',1);" | |
| $Inserts [24] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('summary_page_show_max','10',1);" | |
| $Inserts [25] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('minimum_password_length','4',1);" | |
| $Inserts [26] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('templates','a:3:{i:0;s:7:\"blueish\";i:1;s:4:\"grey\";i:2;s:8:\"standard\";}',5);" | |
| $Inserts [27] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('locales','a:0:{}',5)" | |
| $Inserts [28] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('email_service_type','php',3);" | |
| $Inserts [29] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_host','your.smtp.host.com',3);" | |
| $Inserts [30] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_port','25',1);" | |
| $Inserts [31] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_use_authentication','0',1);" | |
| $Inserts [32] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_username','',3);" | |
| $Inserts [33] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('smtp_password','',3);" | |
| $Inserts [34] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('locale_folder','./locale',3);" | |
| $Inserts [35] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('xmlrpc_ping_enabled','0',1);" | |
| $Inserts [36] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('path_to_tar','{path_to_tar}',3);" | |
| $Inserts [37] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('path_to_gzip','{path_to_gzip}',3);" | |
| $Inserts [38] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('path_to_bz2','{path_to_bz2}',3);" | |
| $Inserts [39] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('path_to_unzip','{path_to_unzip}',3);" | |
| $Inserts [40] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('users_can_add_templates',1,1);" | |
| $Inserts [41] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('maximum_file_upload_size', 2000000, 1);" | |
| $Inserts [42] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('upload_forbidden_files', '*.php *.php3 *.php4 *.phtml *.htm *.html *.exe *.com *.bat .htaccess *.sh', 3);" | |
| $Inserts [43] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('comments_order', 1, 1);" | |
| $Inserts [44] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('security_pipeline_enabled', 1, 1);" | |
| $Inserts [45] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('maximum_comment_size', 0, 1 );" | |
| $Inserts [46] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('resources_enabled', 1, 1 );" | |
| $Inserts [47] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('thumbnail_method', 'gd', 3);" | |
| $Inserts [48] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('path_to_convert', '{path_to_convert}', 3);" | |
| $Inserts [49] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('thumbnail_height', 120, 1);" | |
| $Inserts [50] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('thumbnail_width', 120, 1);" | |
| $Inserts [51] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('thumbnails_keep_aspect_ratio', 1, 1);" | |
| $Inserts [52] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('xmlrpc_api_enabled', 1, 1);" | |
| $Inserts [53] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('uploads_enabled', 1, 1);" | |
| $Inserts [54] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES ('default_rss_profile', 'rss090', 3);" | |
| $Inserts [55] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_enabled', 1, 2);" | |
| $Inserts [56] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_spam_probability_treshold', '0.9', 6);" | |
| $Inserts [57] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_nonspam_probability_treshold', '0.2', 6);" | |
| $Inserts [58] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_min_length_token', '3', 1);" | |
| $Inserts [59] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_max_length_token', '100', 1);" | |
| $Inserts [60] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_number_significant_tokens', 15, 1);" | |
| $Inserts [61] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_spam_comments_action', 0, 1 );" | |
| $Inserts [62] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('ip_address_filter_enabled', 1, 1 );" | |
| $Inserts [63] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('content_filter_enabled', 1, 1 );" | |
| $Inserts [64] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_format','same',3);" | |
| $Inserts [65] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resources_folder','./gallery/',3);" | |
| $Inserts [66] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('beautify_comments_text', '1', 1);" | |
| $Inserts [67] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('disable_apache_error_handler', '0', 1);" | |
| $Inserts [68] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('show_future_posts_in_calendar', '0', 1);" | |
| $Inserts [69] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('xhtml_converter_enabled', '1', 1);" | |
| $Inserts [70] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('xhtml_converter_aggresive_mode_enabled', '0', 1);" | |
| $Inserts [71] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('search_engine_enabled', '1', 1);" | |
| $Inserts [72] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('search_in_custom_fields', '1', 1);" | |
| $Inserts [73] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('search_in_comments', '1', 1);" | |
| $Inserts [74] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resources_quota', '0', 1);" | |
| $Inserts [75] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('category_link_format', '/blog/{blogname}/{catname}$', 3);" | |
| $Inserts [76] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('blog_link_format', '/blog/{blogname}$', 3);" | |
| $Inserts [77] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('archive_link_format', '/blog/{blogname}/archives/{year}/?{month}/?{day}', 3);" | |
| $Inserts [78] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('user_posts_link_format', '/blog/{blogname}/user/{username}$', 3);" | |
| $Inserts [79] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('post_trackbacks_link_format', '/blog/{blogname}/post/trackbacks/{postname}$', 3);" | |
| $Inserts [80] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_link_format', '/blog/{blogname}/page/{templatename}$', 3);" | |
| $Inserts [81] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('album_link_format', '/blog/{blogname}/album/{albumname}$', 3);" | |
| $Inserts [82] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_link_format', '/blog/{blogname}/resource/{albumname}/{resourcename}$', 3);" | |
| $Inserts [83] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_preview_link_format', '/blog/{blogname}/resource/{albumname}/preview/{resourcename}$', 3);" | |
| $Inserts [84] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_download_link_format', '/blog/{blogname}/resource/{albumname}/download/{resourcename}$', 3);" | |
| $Inserts [85] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('permalink_format', '/blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$', 3);" | |
| $Inserts [86] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('script_name', 'index.php', 3);" | |
| $Inserts [87] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_generator_use_smoothing_algorithm', '0', 1);" | |
| $Inserts [88] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_server_use_http_caching', '1', 1);" | |
| $Inserts [89] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('medium_size_thumbnail_width', '640', 1);" | |
| $Inserts [90] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('medium_size_thumbnail_height', '480', 1);" | |
| $Inserts [91] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_medium_size_preview_link_format', '/blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$', 3);" | |
| $Inserts [92] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('subdomains_enabled', '0', 1);" | |
| $Inserts [93] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('include_blog_id_in_url', '1', 1);" | |
| $Inserts [94] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('send_xmlrpc_pings_enabled_by_default', '1', 1);" | |
| $Inserts [95] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('forbidden_usernames', 'admin www blog ftp wiki forums', 3);" | |
| $Inserts [96] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('force_registration_confirmation', '0', 1);" | |
| $Inserts [97] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('summary_blogs_per_page', '25', 3);" | |
| $Inserts [98] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('subdomains_base_url', '', 3);" | |
| $Inserts [99] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('autosave_new_drafts_time_millis', '300000', 3);" | |
| $Inserts [100] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('save_drafts_via_xmlhttprequest_enabled', '1', 1);" | |
| $Inserts [101] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('need_email_confirm_registration', '1', 1);" | |
| $Inserts [102] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('force_one_blog_per_email_account', '0', 1);" | |
| $Inserts [103] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('summary_show_agreement', '1', 1);" | |
| $Inserts [104] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('default_time_offset', '0', 3);" | |
| $Inserts [105] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_cache_enabled', '1', 1);" | |
| $Inserts [106] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_http_cache_enabled', '0', 1);" | |
| $Inserts [107] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_compile_check', '1', 1);" | |
| $Inserts [108] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('update_cached_article_reads', '1', 1);" | |
| $Inserts [109] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('allow_php_code_in_templates', '0', 1);" | |
| $Inserts [110] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_generator_use_smoothing_algorithm', '1', 1);" | |
| $Inserts [111] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_cache_lifetime', '-1', 3);" | |
| $Inserts [112] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_http_accept_language_detection', '0', 1);" | |
| $Inserts [113] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('session_save_path', '', 3);" | |
| $Inserts [114] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('skip_dashboard', '0', 1);" | |
| $Inserts [115] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_captcha_auth', '0', 1);" | |
| $Inserts [116] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('http_cache_lifetime', '1800', 3);" | |
| $controller = new Controller( $_actionMap, "nextStep" ) | |
| enum DB_WIZARD_DEBUG |
Definition at line 12 of file wizard.php.
| enum TEMP_FOLDER |
Definition at line 53 of file wizard.php.
Definition at line 18 of file wizard.php.
Definition at line 24 of file wizard.php.
| connectDb | ( | $ | ignoreError = false, |
|
| $ | selectDatabase = true | |||
| ) |
Open a connection to the database
Definition at line 660 of file wizard.php.
References $config, $db, getValue(), and NewADOConnection().
Referenced by UpdateStepThree.perform(), UpdateStepTwo.perform(), WizardStepFour.perform(), WizardStepTwo.perform(), and UpdateStepFour.validate().
| getDbPrefix | ( | ) |
Returns the database prefix
Definition at line 687 of file wizard.php.
References $config.
Referenced by UpdateStepThree.perform(), and UpdateStepFour.validate().
| $_actionMap["Update4"] = "UpdateStepFour" |
Definition at line 68 of file wizard.php.
| $_actionMap["Update3"] = "UpdateStepThree" |
Definition at line 67 of file wizard.php.
| $_actionMap["Update2"] = "UpdateStepTwo" |
Definition at line 66 of file wizard.php.
| $_actionMap["Update1"] = "UpdateStepOne" |
Definition at line 65 of file wizard.php.
| $_actionMap["Step5"] = "WizardStepFive" |
Definition at line 64 of file wizard.php.
| $_actionMap["Step4"] = "WizardStepFour" |
Definition at line 63 of file wizard.php.
| $_actionMap["Step3"] = "WizardStepThree" |
Definition at line 62 of file wizard.php.
| $_actionMap["Step2"] = "WizardStepTwo" |
Definition at line 61 of file wizard.php.
| $_actionMap["Step1"] = "WizardStepOne" |
Definition at line 60 of file wizard.php.
| $_actionMap["Intro"] = "WizardIntro" |
Definition at line 59 of file wizard.php.
| $_actionMap["Default"] = "WizardIntro" |
Definition at line 58 of file wizard.php.
| $Changes["Permissions"] |
Initial value:
Array( "ALTER TABLE {dbprefix}users_permissions ADD KEY user_id(user_id)", "ALTER TABLE {dbprefix}users_permissions ADD KEY blog_id(blog_id)", "ALTER TABLE {dbprefix}users_permissions ADD KEY user_id_permission_id(user_id,permission_id)")
Definition at line 528 of file wizard.php.
| $Changes["Bayesian Filter data table"] = Array( "ALTER TABLE {dbprefix}bayesian_filter_info ADD KEY blog_id(blog_id)" ) |
Definition at line 526 of file wizard.php.
| $Changes["Users"] |
Initial value:
Array( "ALTER TABLE {dbprefix}users ADD COLUMN full_name VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}users ADD COLUMN properties TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}users ADD COLUMN resource_picture_id INTEGER(10) NOT NULL DEFAULT 0", "ALTER TABLE {dbprefix}users ADD COLUMN status INTEGER(4) NOT NULL DEFAULT 1" )
Definition at line 521 of file wizard.php.
| $Changes["Links Categories"] |
Initial value:
Array( "ALTER TABLE {dbprefix}mylinks_categories ADD COLUMN properties TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}mylinks_categories ADD KEY blog_id(blog_id)")
Definition at line 518 of file wizard.php.
| $Changes["Links"] |
Initial value:
Array( "ALTER TABLE {dbprefix}mylinks ADD COLUMN properties TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}mylinks ADD COLUMN date TIMESTAMP(14)", "ALTER TABLE {dbprefix}mylinks ADD COLUMN rss_feed VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}mylinks ADD KEY blog_id(blog_id)", "ALTER TABLE {dbprefix}mylinks ADD KEY category_id(category_id)")
Definition at line 512 of file wizard.php.
| $Changes["Gallery Resources"] |
Initial value:
Array( "ALTER TABLE {dbprefix}gallery_resources ADD COLUMN normalized_description TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}gallery_resources ADD FULLTEXT normalized_description(normalized_description)", "ALTER TABLE {dbprefix}gallery_resources ADD KEY album_id(album_id)", "ALTER TABLE {dbprefix}gallery_resources ADD KEY owner_id(owner_id)", "ALTER TABLE {dbprefix}gallery_resources ADD KEY file_name(file_name)", "ALTER TABLE {dbprefix}gallery_resources ADD KEY album_id_owner_id(album_id,owner_id)", "ALTER TABLE {dbprefix}gallery_resources ADD KEY resource_type(resource_type)")
Definition at line 503 of file wizard.php.
| $Changes["Gallery Albums"] |
Initial value:
Array( "ALTER TABLE {dbprefix}gallery_albums ADD COLUMN normalized_name VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}gallery_albums ADD COLUMN normalized_description TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}gallery_albums ADD COLUMN mangled_name VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}gallery_albums ADD FULLTEXT normalized_name(normalized_name)", "ALTER TABLE {dbprefix}gallery_albums ADD FULLTEXT normalized_description(normalized_description)", "ALTER TABLE {dbprefix}gallery_albums ADD FULLTEXT normalized_name_description(normalized_name, normalized_description)", "ALTER TABLE {dbprefix}gallery_albums ADD KEY parent_id(parent_id)", "ALTER TABLE {dbprefix}gallery_albums ADD KEY owner_id(owner_id)", "ALTER TABLE {dbprefix}gallery_albums ADD KEY mangled_name(mangled_name)", "ALTER TABLE {dbprefix}gallery_albums ADD KEY owner_id_mangled_name(owner_id,mangled_name)")
Definition at line 492 of file wizard.php.
| $Changes["Blocked hosts"] = Array( "ALTER TABLE {dbprefix}host_blocking_rules ADD KEY blog_id(blog_id)" ) |
Definition at line 490 of file wizard.php.
| $Changes["Filtered Content"] = Array( "ALTER TABLE {dbprefix}filtered_content ADD KEY blog_id(blog_id)" ) |
Definition at line 488 of file wizard.php.
| $Changes["Trackbacks"] = Array( "ALTER TABLE {dbprefix}trackbacks ADD KEY article_id(article_id)" ) |
Definition at line 486 of file wizard.php.
| $Changes["Referrers"] |
Initial value:
Array( "ALTER TABLE {dbprefix}referers ADD KEY article_id(article_id)", "ALTER TABLE {dbprefix}referers ADD KEY blog_id(blog_id)", "ALTER TABLE {dbprefix}referers ADD KEY blog_id_article_id (blog_id, article_id)")
Definition at line 482 of file wizard.php.
| $Changes["Blogs"] |
Initial value:
Array( "ALTER TABLE {dbprefix}blogs ADD COLUMN mangled_blog VARCHAR(50) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}blogs ADD COLUMN properties TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}blogs ADD COLUMN status INTEGER(4) NOT NULL DEFAULT '1'", "ALTER TABLE {dbprefix}blogs ADD COLUMN show_in_summary INTEGER(4) NOT NULL DEFAULT '1'", "ALTER TABLE {dbprefix}blogs ADD KEY owner_id(owner_id)", "ALTER TABLE {dbprefix}blogs ADD KEY mangled_blog(mangled_blog)")
Definition at line 475 of file wizard.php.
| $Changes["Notifications"] |
Initial value:
Array( "ALTER TABLE {dbprefix}articles_notifications ADD KEY article_id(article_id)", "ALTER TABLE {dbprefix}articles_notifications ADD KEY user_id(user_id)", "ALTER TABLE {dbprefix}articles_notifications ADD KEY blog_id(blog_id)")
Definition at line 471 of file wizard.php.
| $Changes["User Comments"] |
Initial value:
Array( "ALTER TABLE {dbprefix}articles_comments ADD COLUMN normalized_text TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles_comments ADD COLUMN normalized_topic TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles_comments ADD FULLTEXT normalized_text(normalized_text)", "ALTER TABLE {dbprefix}articles_comments ADD FULLTEXT normalized_topic(normalized_topic)", "ALTER TABLE {dbprefix}articles_comments ADD FULLTEXT normalized_text_topic(normalized_topic,normalized_text)", "ALTER TABLE {dbprefix}articles_comments ADD KEY parent_id(parent_id)", "ALTER TABLE {dbprefix}articles_comments ADD KEY article_id(article_id)")
Definition at line 463 of file wizard.php.
| $Changes["Article Categories"] |
Initial value:
Array( "ALTER TABLE {dbprefix}articles_categories ADD COLUMN parent_id INTEGER(10) NOT NULL DEFAULT 0", "ALTER TABLE {dbprefix}articles_categories ADD COLUMN mangled_name VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles_categories ADD COLUMN properties TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles_categories ADD COLUMN description TEXT NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles_categories ADD KEY parent_id(parent_id)", "ALTER TABLE {dbprefix}articles_categories ADD KEY blog_id(blog_id)", "ALTER TABLE {dbprefix}articles_categories ADD KEY mangled_name(mangled_name)")
Definition at line 454 of file wizard.php.
| $Changes["Articles"] |
Initial value:
Array( "ALTER TABLE {dbprefix}articles CHANGE status old_status ENUM('published', 'draft', 'deleted' )", "ALTER TABLE {dbprefix}articles ADD COLUMN status INTEGER(5) NOT NULL DEFAULT 1", "ALTER TABLE {dbprefix}articles ADD COLUMN slug VARCHAR(255) NOT NULL DEFAULT ''", "ALTER TABLE {dbprefix}articles ADD KEY num_reads(num_reads)", "ALTER TABLE {dbprefix}articles ADD KEY category_id(category_id)", "ALTER TABLE {dbprefix}articles ADD KEY blog_id(blog_id)", "ALTER TABLE {dbprefix}articles ADD KEY slug(slug)", "ALTER TABLE {dbprefix}articles ADD KEY user_id(user_id)", "ALTER TABLE {dbprefix}articles ADD KEY blog_id_slug(blog_id,slug)", "ALTER TABLE {dbprefix}articles ADD KEY blog_id_slug_category_id(blog_id,slug,category_id)", "ALTER TABLE {dbprefix}articles ADD KEY date(date)", "ALTER TABLE {dbprefix}articles ADD KEY status(status)" )
Definition at line 440 of file wizard.php.
Referenced by UpdateStepTwo.perform().
| $controller = new Controller( $_actionMap, "nextStep" ) |
Definition at line 1827 of file wizard.php.
| $Inserts[116] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('http_cache_lifetime', '1800', 3);" |
Definition at line 654 of file wizard.php.
| $Inserts[115] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_captcha_auth', '0', 1);" |
Definition at line 653 of file wizard.php.
| $Inserts[114] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('skip_dashboard', '0', 1);" |
Definition at line 652 of file wizard.php.
| $Inserts[113] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('session_save_path', '', 3);" |
Definition at line 651 of file wizard.php.
| $Inserts[112] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_http_accept_language_detection', '0', 1);" |
Definition at line 650 of file wizard.php.
| $Inserts[111] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_cache_lifetime', '-1', 3);" |
Definition at line 649 of file wizard.php.
| $Inserts[110] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_generator_use_smoothing_algorithm', '1', 1);" |
Definition at line 648 of file wizard.php.
| $Inserts[109] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('allow_php_code_in_templates', '0', 1);" |
Definition at line 647 of file wizard.php.
| $Inserts[108] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('update_cached_article_reads', '1', 1);" |
Definition at line 646 of file wizard.php.
| $Inserts[107] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_compile_check', '1', 1);" |
Definition at line 645 of file wizard.php.
| $Inserts[106] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_http_cache_enabled', '0', 1);" |
Definition at line 644 of file wizard.php.
| $Inserts[105] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_cache_enabled', '1', 1);" |
Definition at line 643 of file wizard.php.
| $Inserts[104] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('default_time_offset', '0', 3);" |
Definition at line 642 of file wizard.php.
| $Inserts[103] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('summary_show_agreement', '1', 1);" |
Definition at line 641 of file wizard.php.
| $Inserts[102] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('force_one_blog_per_email_account', '0', 1);" |
Definition at line 640 of file wizard.php.
| $Inserts[101] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('need_email_confirm_registration', '1', 1);" |
Definition at line 639 of file wizard.php.
| $Inserts[100] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('save_drafts_via_xmlhttprequest_enabled', '1', 1);" |
Definition at line 638 of file wizard.php.
| $Inserts[99] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('autosave_new_drafts_time_millis', '300000', 3);" |
Definition at line 637 of file wizard.php.
| $Inserts[98] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('subdomains_base_url', '', 3);" |
Definition at line 636 of file wizard.php.
| $Inserts[97] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('summary_blogs_per_page', '25', 3);" |
Definition at line 635 of file wizard.php.
| $Inserts[96] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('force_registration_confirmation', '0', 1);" |
Definition at line 634 of file wizard.php.
| $Inserts[95] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('forbidden_usernames', 'admin www blog ftp wiki forums', 3);" |
Definition at line 633 of file wizard.php.
| $Inserts[94] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('send_xmlrpc_pings_enabled_by_default', '1', 1);" |
Definition at line 632 of file wizard.php.
| $Inserts[93] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('include_blog_id_in_url', '1', 1);" |
Definition at line 631 of file wizard.php.
| $Inserts[92] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('subdomains_enabled', '0', 1);" |
Definition at line 630 of file wizard.php.
| $Inserts[91] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_medium_size_preview_link_format', '/blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$', 3);" |
Definition at line 629 of file wizard.php.
| $Inserts[90] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('medium_size_thumbnail_height', '480', 1);" |
Definition at line 628 of file wizard.php.
| $Inserts[89] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('medium_size_thumbnail_width', '640', 1);" |
Definition at line 627 of file wizard.php.
| $Inserts[88] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_server_use_http_caching', '1', 1);" |
Definition at line 626 of file wizard.php.
| $Inserts[87] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_generator_use_smoothing_algorithm', '0', 1);" |
Definition at line 625 of file wizard.php.
| $Inserts[86] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('script_name', 'index.php', 3);" |
Definition at line 624 of file wizard.php.
| $Inserts[85] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('permalink_format', '/blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$', 3);" |
Definition at line 623 of file wizard.php.
| $Inserts[84] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_download_link_format', '/blog/{blogname}/resource/{albumname}/download/{resourcename}$', 3);" |
Definition at line 622 of file wizard.php.
| $Inserts[83] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_preview_link_format', '/blog/{blogname}/resource/{albumname}/preview/{resourcename}$', 3);" |
Definition at line 621 of file wizard.php.
| $Inserts[82] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resource_link_format', '/blog/{blogname}/resource/{albumname}/{resourcename}$', 3);" |
Definition at line 620 of file wizard.php.
| $Inserts[81] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('album_link_format', '/blog/{blogname}/album/{albumname}$', 3);" |
Definition at line 619 of file wizard.php.
| $Inserts[80] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_link_format', '/blog/{blogname}/page/{templatename}$', 3);" |
Definition at line 618 of file wizard.php.
| $Inserts[79] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('post_trackbacks_link_format', '/blog/{blogname}/post/trackbacks/{postname}$', 3);" |
Definition at line 617 of file wizard.php.
| $Inserts[78] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('user_posts_link_format', '/blog/{blogname}/user/{username}$', 3);" |
Definition at line 616 of file wizard.php.
| $Inserts[77] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('archive_link_format', '/blog/{blogname}/archives/{year}/?{month}/?{day}', 3);" |
Definition at line 615 of file wizard.php.
| $Inserts[76] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('blog_link_format', '/blog/{blogname}$', 3);" |
Definition at line 614 of file wizard.php.
| $Inserts[75] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('category_link_format', '/blog/{blogname}/{catname}$', 3);" |
Definition at line 613 of file wizard.php.
| $Inserts[74] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resources_quota', '0', 1);" |
Definition at line 612 of file wizard.php.
| $Inserts[73] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('search_in_comments', '1', 1);" |
Definition at line 611 of file wizard.php.
| $Inserts[72] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('search_in_custom_fields', '1', 1);" |
Definition at line 610 of file