Updates to configuration.
git-svn-id: http://svn.cleancode.org/svn/pickles@6 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
parent
4b68dd4076
commit
045ac57182
3 changed files with 3 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
||||||
disable = false
|
disable = false
|
||||||
debug = false
|
debug = false
|
||||||
smarty = false
|
session = true
|
||||||
|
smarty = true
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
hostname = "localhost"
|
hostname = "localhost"
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
disable = false
|
|
||||||
debug = false
|
|
||||||
session = true
|
|
||||||
smarty = true
|
|
||||||
|
|
||||||
[database]
|
|
||||||
hostname = "localhost"
|
|
||||||
username = "meatronic"
|
|
||||||
password = "m347r0n1c"
|
|
||||||
database = "meatronic_test"
|
|
||||||
|
|
1
jLib.php
1
jLib.php
|
@ -16,6 +16,7 @@ if (stripos($_SERVER['REQUEST_URI'], '?PHPSESSID=') !== false) {
|
||||||
ini_set('arg_separator.output', '&');
|
ini_set('arg_separator.output', '&');
|
||||||
ini_set('url_rewriter.tags', 'a=href,area=href,frame=src,input=src,fieldset=');
|
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']);
|
Config::load($_SERVER['SERVER_NAME']);
|
||||||
|
|
||||||
// Generic "site down" message
|
// Generic "site down" message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue