Updates to configuration.

git-svn-id: http://svn.cleancode.org/svn/pickles@6 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2007-11-09 01:45:17 +00:00
parent 4b68dd4076
commit 045ac57182
3 changed files with 3 additions and 12 deletions

View file

@ -1,6 +1,7 @@
disable = false
debug = false
smarty = false
session = true
smarty = true
[database]
hostname = "localhost"

View file

@ -1,11 +0,0 @@
disable = false
debug = false
session = true
smarty = true
[database]
hostname = "localhost"
username = "meatronic"
password = "m347r0n1c"
database = "meatronic_test"

View file

@ -16,6 +16,7 @@ if (stripos($_SERVER['REQUEST_URI'], '?PHPSESSID=') !== false) {
ini_set('arg_separator.output', '&');
ini_set('url_rewriter.tags', 'a=href,area=href,frame=src,input=src,fieldset=');
$_SERVER['SERVER_NAME'] = str_replace('.localhost', '.com', $_SERVER['SERVER_NAME']);
Config::load($_SERVER['SERVER_NAME']);
// Generic "site down" message