Sign up to create your own snipts, or login.

Public snipts » config The latest public config snipts.

showing 1-7 of 7 snipts for config
  • config.php for EE
    <?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 - tagged in  posted by robertbanh on Feb 08, 2010 at 11:26 a.m. EST
  • .fonts.conf
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
      <match target="font">
        <edit name="autohint" mode="assign">
          <bool>true</bool>
        </edit>
      </match>
    </fontconfig>
    

    copy | embed

    0 comments - tagged in  posted by alifity on Nov 25, 2009 at 5:07 a.m. EST
  • remove default domains, rebuild plesk vhost config
    Single: # mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0 WHERE ip_address = 'IP.ADD.RE.SS';"
    
    --
    
    All: # mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0;"
    
    --
    
    /usr/local/psa/admin/sbin/websrvmng -a -v
    

    copy | embed

    0 comments - tagged in  posted by malkir on Oct 07, 2009 at 9:24 p.m. EDT
  • WordPress FTP Config
    // ** FTP SETTINGS FOR AUTO-UPDATE ** //
    define('FTP_HOST', 'localhost');
    define('FTP_USER', 'user');
    define('FTP_PASS', 'pass');
    

    copy | embed

    0 comments - tagged in  posted by AndreasKarman on Sep 25, 2009 at 9:04 p.m. EDT
  • channels from irssi config
    channels = (
      { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
      { name = "#irssi"; chatnet = "OFTC"; autojoin = "No"; },
      { name = "silc"; chatnet = "silc"; autojoin = "No"; },
      { name = "#sd"; chatnet = "OFTC"; autojoin = "yes"; }
    );
    

    copy | embed

    0 comments - tagged in  posted by zer0her0 on Mar 03, 2009 at 11:44 a.m. EST
  • apache .htaccess code to load site with www prefix at all times
    # this code in your .htaccess file makes sure that the url loads 
    # with the 'www.' subdomain in place...
    # 
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{http_host} ^yourdomain.com [nc]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,nc,L]
    

    copy | embed

    0 comments - tagged in  posted by swbratcher on Feb 21, 2009 at 2:00 p.m. EST
  • symfony database yml config
    all:
      propel: #database name in schema.xml
        class:                sfPropelDatabase
        param:
          phptype:            mysql     # Database vendor
          hostspec:           localhost
          database:           blog
          username:           login
          password:           passwd
          encoding:           utf8      # Default charset for table creation
          persistent:         true      # Use persistent connections
    

    copy | embed

    0 comments - tagged in  posted by mel28 on Feb 09, 2009 at 6:13 a.m. EST
Sign up to create your own snipts, or login.