From a070cbe9627fcc29ef2f91b8f7578080203e6ad1 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Wed, 1 Jun 2011 10:33:34 -0700 Subject: Removing the config file from the codebase. --- htdocs/src/config.inc.php | 32 -------------------------------- htdocs/src/config.inc.php.example | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 32 deletions(-) delete mode 100644 htdocs/src/config.inc.php create mode 100644 htdocs/src/config.inc.php.example (limited to 'htdocs/src') diff --git a/htdocs/src/config.inc.php b/htdocs/src/config.inc.php deleted file mode 100644 index 829c632..0000000 --- a/htdocs/src/config.inc.php +++ /dev/null @@ -1,32 +0,0 @@ - - * - */ - -$CONFIG = array( - // Database Information - 'dbhost' => '127.0.0.1', - 'dbuser' => 'p4scommunity', - 'dbpass' => 'password', - 'dbname' => 'p4scommunity', - - // Site Information - 'sitetitle' => 'Foursquare Community', - 'email_from' => 'community@myfoursquarechurch.com', - - 'urlroot' => '/~jesse/p4s/community/htdocs', - 'root' => '/home/jesse/Development/p4square/community/htdocs', - 'uploads' => '/home/jesse/Development/p4square/community/uploads', - - 'debug' => true, - 'production' => true, -); - -set_include_path(get_include_path() . PATH_SEPARATOR . $CONFIG['root'].'/src'); - -?> diff --git a/htdocs/src/config.inc.php.example b/htdocs/src/config.inc.php.example new file mode 100644 index 0000000..d0d912c --- /dev/null +++ b/htdocs/src/config.inc.php.example @@ -0,0 +1,35 @@ + + * + */ + +$CONFIG = array( + // Database Information + 'dbhost' => '127.0.0.1', + 'dbuser' => 'p4scommunity', + 'dbpass' => 'password', + 'dbname' => 'p4scommunity', + + // Site Information + 'sitetitle' => 'Foursquare Community', + 'email_from' => 'community@myfoursquarechurch.com', + 'emaildomain' => 'listandshare.com', + + 'urlroot' => '/~jesse/p4s/community/htdocs', + 'root' => '/Users/jesse/Development/P4Square/community/htdocs', + 'uploads' => '/Users/jesse/Development/P4Square/community/uploads', + + 'expiretime' => 7, // days + + 'debug' => true, + 'production' => false, +); + +set_include_path(get_include_path() . PATH_SEPARATOR . $CONFIG['root'].'/src'); + +?> -- cgit v1.2.3