Sign up to create your own snipts, or login.

Public snipts » robertbanh's snipts » config.php for EE

posted on Feb 08, 2010 at 11:26 a.m. EST in 
  • <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "168";
    $conf['license_number'] = "";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "[mysql server]";
    // Note: Must use the super admin since EE will
    // alter and add/remove columns.
    $conf['db_username'] = "xxxx";
    $conf['db_password'] = "xxxx";
    $conf['db_name'] = "xxx";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "[system folder name]";
    $conf['cp_url'] = "http://[server]/[system]/index.php";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['cookie_prefix'] = "";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "n";
    
    // rbanh: this is for migration:
    $conf['site_url'] = "http://[server]/";
    $conf['tmpl_file_basepath'] = $conf['site_url'] . $conf['system_folder'] . "/templates/";
    $conf['theme_folder_url'] = $conf['site_url'] . "themes/";
    $conf['theme_folder_path'] = $conf['site_url'] . "themes/";
    $conf['captcha_path'] = $conf['site_url'] . "images/captchas/";
    $conf['captcha_url'] = $conf['site_url'] . "images/captchas/";
    $conf['avatar_path'] = $conf['site_url'] . "images/members/avatars/";
    $conf['avatar_url'] = $conf['site_url'] . "images/members/avatars/";
    
    ?>
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.