tips icon image

EE Insider Tips
Sponsored by Mijingo's EE 2 Screencasts

ExpressionEngine mini-howtos created by the EE Insider community.

Tips tagged “Config”

Config Overrides for EE 1 and 2

Posted on June 17, 2010 by Ryan Irelan

I don’t think I’ve seen this one before, but the EE Wiki contains a full list of config.php overrides, which are easily found by doing the following in a EE 1.6.x template with PHP enabled:

<?php 
    
global $PREFS;
    
print_r($PREFS);
?> 

The list in the wiki is only for 1.6.7, so some may have

Read this tip

Dynamic paths in config.php

Posted on June 10, 2009 by Andy Harris

It’s possible to update your config.php file to automatically generate lots of (but sadly not all) paths used by the software. Here’s what I use:

$conf['site_url'"http://${_SERVER['HTTP_HOST']}/";
$conf['cp_url'"http://${_SERVER['HTTP_HOST']}/${conf['system_folder']}/";
$conf[

Read this tip

Change your hidden template indicator

Posted on June 08, 2009 by Andy Harris

I like to use hidden template indicator to hide templates - the default is to add a period before the template name, so for example if I have a template for my header, I would call it .header so it cannot be accessed directly.

However, the period before a filename also means a hidden file as far

Read this tip

Search EE Insider Tips
Sponsored By