Permalink
Browse files

added auto project_config include for build models

  • Loading branch information...
1 parent 59719b6 commit cb5d1896661749a3e6e2b42db5488e10bd3fcf88 @mjpearson committed Jul 14, 2010
Showing with 8 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +7 −0 config.php
View
@@ -0,0 +1 @@
+project_config.php
View
@@ -16,4 +16,11 @@
define('CASSANDRA_CONF_PATH', '/usr/local/src/apache-cassandra-0.6.1/conf/storage-conf.xml');
require_once dirname(__FILE__).'/lib/loader.php';
+
+// Put any extra setups in project_config.php
+// ie: setting up loggers, creating connections etc.
+// This is also built by build-models
+if (file_exists(dirname(__FILE__).'/project_config.php')) {
+ require_once(dirname(__FILE__).'project_config.php');
+}
?>

0 comments on commit cb5d189

Please sign in to comment.