Permalink
Browse files

Merge branch 'master' of github.com:focuslabllc/ee-master-config

  • Loading branch information...
2 parents a35674c + 909d9df commit e80b486fa41d3a059411bf2550c1093c3c80ae46 @erikreagan erikreagan committed Jan 26, 2012
Showing with 8 additions and 1 deletion.
  1. +5 −1 readme.textile
  2. +3 −0 system/expressionengine/config/config.php
View
6 readme.textile
@@ -83,6 +83,10 @@ End if</pre>
You can find a list of available configuration override options here on the EE Wiki page "EE 2 Config Overrides":http://expressionengine.com/wiki/EE_2_Config_Overrides. You can alternatively find individual setting array keys by "inspecting" elements within EE's Control Panel and taking note of the input names. Third party developers may also include config override support in their add-ons.
+*Templates Settings*
+
+You can now change the location of your templates directory. Find @$env_config['tmpl_file_basepath']@ around line @132@ in the @config.master.php@ and change the value as needed.
+
*Global Variables*
You can define a set of template global variables in the @config.master.php@ file as well. Around line @232@ you will see that there are 2 variables available as an example. You can add anything here that you prefer, such as default date format strings etc.
@@ -124,7 +128,7 @@ h2. Setup
* Modify @config.env.php@ to reflect your environments and domains. You can remove and add environments as needed
* Update each @config.{env}.php@ file with each environment's database credentials as needed
* Create config overrides and global variables for each environment as needed
-* Add the following code to the bottom of @system/expressionengine/config/config.php@:
+* Add the following code to the bottom of @system/expressionengine/config/config.php@ (be sure not to delete other config settings already in this file):
<pre><code>/**
* Require the Focus Lab, LLC Master Config file
View
3 system/expressionengine/config/config.php
@@ -24,6 +24,9 @@
// Numerous CodeIgniter config settings go here. We've removed
// them for breviety in our repository code example
//
+// DO NOT DELETE THE CONFIG SETTINGS THAT WOULD TYPICALLY APPEAR
+// HERE. THEY ARE CodeIgniter SETTINGS REQUIRED TO RUN EE PROPERLY
+//
// The config values start with "base_url" and go to "proxy_ips"
// ---------------------------------------------------------------

0 comments on commit e80b486

Please sign in to comment.