x
 
Create New Page
 View Previous Changes    ( Last updated by Ingmar Greil )

Config.php for v1.5.1

Here is a sample config.php for EE v1.5.1. Specific details have been replaced with “*****”; you’ll need to replace those with your details for this to work. 

<?php

if ( ! defined('EXT')){
exit('Invalid file request');
}

$conf[
'app_version'"151";
$conf['license_number'"";
$conf['debug'"1";
$conf['install_lock'"1";
$conf['db_hostname'"****";
$conf['db_username'"****";
$conf['db_password'"****";
$conf['db_name'"****";
$conf['db_type'"mysql";
$conf['db_prefix'"exp";
$conf['db_conntype'"0";
$conf['encryption_type'"sha1";
$conf['system_folder'"system";
$conf['cp_url'"****";
$conf['site_index'"index.php";
$conf['site_name'"****";
$conf['site_url'"****";
$conf['theme_folder_url'"http://****/themes/";
$conf['doc_url'"http://eedocs.pmachine.com/";
$conf['webmaster_email'"****";
$conf['webmaster_name'"";
$conf['weblog_nomenclature'"weblog";
$conf['max_caches'"150";
$conf['captcha_url'"http://****/images/captchas/";
$conf['captcha_path'"/****/images/captchas/";
$conf['captcha_font'"y";
$conf['captcha_rand'"y";
$conf['captcha_require_members'"n";
$conf['enable_db_caching'"y";
$conf['enable_sql_caching'"n";
$conf['force_query_string'"n";
$conf['show_queries'"n";
$conf['template_debugging'"n";
$conf['include_seconds'"n";
$conf['cookie_domain'"";
$conf['cookie_path'"";
$conf['cookie_prefix'"";
$conf['user_session_type'"c";
$conf['admin_session_type'"cs";
$conf['allow_username_change'"y";
$conf['allow_multi_logins'"y";
$conf['password_lockout'"y";
$conf['password_lockout_interval'"1";
$conf['require_ip_for_login'"y";
$conf['require_ip_for_posting'"y";
$conf['allow_multi_emails'"n";
$conf['require_secure_passwords'"n";
$conf['allow_dictionary_pw'"y";
$conf['name_of_dictionary_file'"";
$conf['xss_clean_uploads'"y";
$conf['redirect_method'"redirect";
$conf['deft_lang'"english";
$conf['xml_lang'"en";
$conf['charset'"utf-8";
$conf['send_headers'"y";
$conf['gzip_output'"n";
$conf['log_referrers'"y";
$conf['max_referrers'"500";
$conf['is_system_on'"y";
$conf['time_format'"us";
$conf['server_timezone'"UM7";
$conf['server_offset'"";
$conf['daylight_savings'"n";
$conf['default_site_timezone'"UM7";
$conf['default_site_dst'"n";
$conf['honor_entry_dst'"y";
$conf['mail_protocol'"mail";
$conf['smtp_server'"";
$conf['smtp_username'"";
$conf['smtp_password'"";
$conf['email_debug'"n";
$conf['email_charset'"utf-8";
$conf['email_batchmode'"n";
$conf['email_batch_size'"";
$conf['mail_format'"plain";
$conf['word_wrap'"y";
$conf['email_console_timelock'"5";
$conf['log_email_console_msgs'"y";
$conf['cp_theme'"default";
$conf['email_module_captchas'"n";
$conf['log_search_terms'"y";
$conf['un_min_len'"4";
$conf['pw_min_len'"5";
$conf['allow_member_registration'"y";
$conf['allow_member_localization'"y";
$conf['req_mbr_activation'"email";
$conf['new_member_notification'"n";
$conf['mbr_notification_emails'"";
$conf['require_terms_of_service'"y";
$conf['use_membership_captcha'"n";
$conf['default_member_group'"5";
$conf['profile_trigger'"member";
$conf['member_theme'"default";
$conf['enable_avatars'"y";
$conf['allow_avatar_uploads'"n";
$conf['avatar_url'"http://****/images/avatars/";
$conf['avatar_path'"/****/images/avatars/";
$conf['avatar_max_width'"100";
$conf['avatar_max_height'"100";
$conf['avatar_max_kb'"50";
$conf['enable_photos'"n";
$conf['photo_url'"http://****/images/member_photos/";
$conf['photo_path'"/****/images/member_photos/";
$conf['photo_max_width'"100";
$conf['photo_max_height'"100";
$conf['photo_max_kb'"50";
$conf['allow_signatures'"y";
$conf['sig_maxlength'"500";
$conf['sig_allow_img_hotlink'"n";
$conf['sig_allow_img_upload'"n";
$conf['sig_img_url'"http://****/images/signature_attachments/";
$conf['sig_img_path'"/****/images/signature_attachments/";
$conf['sig_img_max_width'"480";
$conf['sig_img_max_height'"80";
$conf['sig_img_max_kb'"30";
$conf['prv_msg_upload_path'"/****/images/pm_attachments/";
$conf['prv_msg_max_attachments'"3";
$conf['prv_msg_attach_maxsize'"250";
$conf['prv_msg_attach_total'"100";
$conf['prv_msg_html_format'"safe";
$conf['prv_msg_auto_links'"y";
$conf['prv_msg_max_chars'"6000";
$conf['site_404'"";
$conf['save_tmpl_revisions'"n";
$conf['max_tmpl_revisions'"5";
$conf['save_tmpl_files'"n";
$conf['tmpl_file_basepath'"";
$conf['secure_forms'"y";
$conf['deny_duplicate_data'"y";
$conf['redirect_submitted_links'"n";
$conf['enable_censoring'"n";
$conf['censored_words'"";
$conf['censor_replacement'"";
$conf['banned_ips'"";
$conf['banned_emails'"";
$conf['banned_usernames'"";
$conf['banned_screen_names'"";
$conf['ban_action'"restrict";
$conf['ban_message'"This site is currently unavailable";
$conf['ban_destination'"http://www.yahoo.com/";
$conf['enable_emoticons'"y";
$conf['emoticon_path'"http://****/images/smileys/";
$conf['recount_batch_total'"1000";
$conf['enable_image_resizing'"y";
$conf['image_resize_protocol'"gd2";
$conf['image_library_path'"";
$conf['thumbnail_prefix'"thumb";
$conf['word_separator'"underscore";
$conf['use_category_name'"y";
$conf['reserved_category_word'"category";
$conf['auto_convert_high_ascii'"n";
$conf['new_posts_clear_caches'"y";
$conf['auto_assign_cat_parents'"y";
$conf['remap_pm_urls'"n";
$conf['remap_pm_dest'"";
$conf['new_version_check'"y";
$conf['publish_tab_behavior'"hover";
$conf['enable_throttling'"n";
$conf['banish_masked_ips'"y";
$conf['max_page_loads'"10";
$conf['time_interval'"8";
$conf['lockout_time'"30";
$conf['banishment_type'"message";
$conf['banishment_url'"";
$conf['banishment_message'"You have exceeded the allowed page load frequency.";
$conf['enable_search_log'"y";
$conf['max_logged_searches'"500";
$conf['allow_extensions'"y";
$conf['mailinglist_enabled'"y";
$conf['mailinglist_notify'"n";
$conf['mailinglist_notify_emails'"";
$conf['memberlist_order_by'"total_posts";
$conf['memberlist_sort_order'"desc";
$conf['memberlist_row_limit'"20";
?> 

Note: For a complete list of all available hash keys, you can run the command dump $PREFS->core_ini, like so:

<pre>
<?php global $PREFSvar_dump($PREFS->core_ini); ?>
</pre

Category:Troubleshooting Category:Upgrading

Category:EE1