Skip to content

Commit

Permalink
added auto project_config include for build models
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpearson committed Jul 14, 2010
1 parent 59719b6 commit cb5d189
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
project_config.php
7 changes: 7 additions & 0 deletions config.php
Expand Up @@ -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.