Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ExpressionEngine1.x bootstrapped config file
<?php
if ( ! defined('EXT')){
exit('Invalid file request');
}
$conf['app_version'] = "164";
$conf['license_number'] = "";
$conf['debug'] = "1";
$conf['install_lock'] = "1";
$conf['db_hostname'] = "xxx";
$conf['db_username'] = "xxx";
$conf['db_password'] = "xxx";
$conf['db_name'] = "xxx";
$conf['db_type'] = "mysql";
$conf['db_prefix'] = "exp";
$conf['db_conntype'] = "0";
$conf['system_folder'] = "admin";
$conf['doc_url'] = "http://www.ghijk.co.uk/";
$conf['cookie_prefix'] = "";
$conf['is_system_on'] = "y";
$conf['allow_extensions'] = "y";
$conf['multiple_sites_enabled'] = "n";
/* General
-------------------------------------------------------------------*/
$conf['site_index'] = "";
$conf['site_url'] = "http://" . $_SERVER['HTTP_HOST'];
$conf['server_path'] = $_SERVER['DOCUMENT_ROOT'];
$conf['cp_url'] = $conf['site_url'] . $conf['system_folder'];
/* Member directory paths and urls
-------------------------------------------------------------------*/
$conf['avatar_url'] = $conf['site_url']."images/avatars/";
$conf['avatar_path'] = $conf['server_path']."/images/avatars/";
$conf['photo_url'] = $conf['site_url']."images/member_photos/";
$conf['photo_path'] = $conf['server_path']."/images/member_photos/";
$conf['sig_img_url'] = $conf['site_url']."images/signature_attachments/";
$conf['sig_img_path'] = $conf['server_path']."/images/signature_attachments/";
$conf['prv_msg_upload_path'] = $conf['server_path']."/images/pm_attachments/";
/* Misc directory paths and urls
-------------------------------------------------------------------*/
$conf['theme_folder_path'] = $conf['server_path']."/themes/";
$conf['theme_folder_url'] = $conf['site_url']."/themes/";
$conf['captcha_path'] = $conf['server_path']."/images/captchas/";
$conf['captcha_url'] = $conf['site_url']."images/captchas/";
$conf['emoticon_path'] = $conf['site_url']."images/smileys/";
$conf['enable_emoticons'] = "n";
/* Extreme traffic options - http://expressionengine.com/docs/general/handling_extreme_traffic.html
-------------------------------------------------------------------*/
$conf['enable_online_user_tracking'] = "n"; // (y/n) - Corresponds to Enable Online User Tracking
$conf['enable_hit_tracking'] = "n"; // (y/n) - Corresponds to Enable Template Hit Tracking
$conf['enable_entry_view_tracking'] = "n"; // (y/n) - Corresponds to Enable Weblog Entry View Tracking
$conf['log_referrers'] = "n"; // (y/n) - Corresponds to Enable Referrer Logging?
$conf['dynamic_tracking_disabling'] =""; // (numeric) - Corresponds to Suspend ALL tracking when number of online visitors exceeds:
$conf['disable_all_tracking'] = "n"; // (y/n) - Emergency preference which when set to 'y' will disable all of the above.
/* Templates Preferences
-------------------------------------------------------------------*/
$conf['save_tmpl_files'] = "y";
$conf['tmpl_file_basepath'] = $conf['server_path']."/templates/";
$conf['site_404'] = "404/index";
$conf['strict_urls'] = "n";
/* Global Channel Preferences
-------------------------------------------------------------------*/
$conf['use_category_name'] = "y";
$conf['reserved_category_word'] = "category";
$conf['word_separator'] = "dash";
$conf['enable_image_resizing'] = "n";
$conf['auto_convert_high_ascii'] = "n";
/* Member Preferences
-------------------------------------------------------------------*/
$conf['profile_trigger'] = "member";
/* Cookie settings
-------------------------------------------------------------------*/
$conf['cookie_path'] = "";
$conf['cookie_domain'] = "";
$conf['cookie_prefix'] = "";
$conf['user_session_type'] = "c";
$conf['admin_session_type'] = "cs";
/* Enable some hidden variables - http://expressionengine.com/wiki/Hidden_Configuration_Variables/
-------------------------------------------------------------------*/
$conf['weblog_nomenclature'] = "section";
$conf['hidden_template_indicator'] = "_";
$conf['protect_javascript'] = "y";
/* Fieldframe settings
--------------------------------------------------------------------*/
$conf['ft_path'] = $conf['server_path']."/".$conf['system_folder']."/extensions/fieldtypes/";
$conf['ft_url'] = $conf['cp_url']."/extensions/fieldtypes/";
/* Image Resizer Settings
--------------------------------------------------------------------*/
$conf['ed_server_path'] = $conf['server_path'];
$conf['ed_cache_path'] = $conf['server_path'].'/uploads/images/resizer_cache/';
/* User Module settings
--------------------------------------------------------------------*/
$conf['user_module_key_expiration'] = "30";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment