Changeset 1160
- Timestamp:
- 09/14/07 21:43:38 (1 year ago)
- Files:
-
- branches/1.0/src/lyceum/system-admin/settings.php (modified) (1 diff)
- branches/1.0/src/lyceum/wp-admin/upgrade-functions.php (modified) (1 diff)
- branches/1.0/src/lyceum/wp-admin/upgrade-schema.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/src/lyceum/system-admin/settings.php
r1148 r1160 108 108 lyceum_settings_text_input('wp-content_file_path', 'wp-content_file_path', 'The file path where individual blog uploads and cache are kept.', 200) . 109 109 lyceum_settings_text_input('fileupload_base_url', 'File upload base url', 'This needs to work with wp-content_file_path above.') . 110 lyceum_settings_text_input(' blog_charset', 'System character encoding') .110 lyceum_settings_text_input('system_charset', 'System character encoding') . 111 111 lyceum_settings_text_input('email_structure', 'email regex', 'Regular expression against which new email addresses must match (example: <strong>/.*@example\.tld/</strong>)') . 112 112 lyceum_settings_text_input('email_structure_error_message', 'email regex error', '(example: <strong>You must have a example.tld email address in order to make an account.</strong>)') . branches/1.0/src/lyceum/wp-admin/upgrade-functions.php
r1144 r1160 118 118 $wpdb->query("DELETE FROM $wpdb->options WHERE option_name = 'siteurl' AND option_domain = 'system'"); 119 119 120 echo '<br/>→ Deleting site-wide blog_charset option. (renamed to system_charset)'; 121 $wpdb->query("DELETE FROM $wpdb->options WHERE option_name = 'blog_charset' AND option_domain = 'system'"); 122 120 123 echo '<br/>→ Creating new post2cat index (See <a href="http://lyceum.ibiblio.org/2007/03/02/last-night-a-b-tree-saved-my-life-or-how-to-do-a-simple-index-audit-to-fix-a-slow-query/">this article</a> for more information).'; 121 124 branches/1.0/src/lyceum/wp-admin/upgrade-schema.php
r1139 r1160 327 327 add_option('restrict_admin_ip', 0); 328 328 add_option('active_system_plugins'); 329 add_option(' blog_charset', 'UTF-8');329 add_option('system_charset', 'UTF-8'); 330 330 add_option('html_type', 'text/html'); 331 331 add_option('presentation_tab', 1);
