diff --git a/config/meatronic.com.ini b/config/meatronic.com.ini index ed806d2..9dc4774 100755 --- a/config/meatronic.com.ini +++ b/config/meatronic.com.ini @@ -1,6 +1,7 @@ disable = false debug = false -smarty = false +session = true +smarty = true [database] hostname = "localhost" diff --git a/config/new.meatronic.com.ini b/config/new.meatronic.com.ini deleted file mode 100755 index 79d5cd0..0000000 --- a/config/new.meatronic.com.ini +++ /dev/null @@ -1,11 +0,0 @@ -disable = false -debug = false -session = true -smarty = true - -[database] -hostname = "localhost" -username = "meatronic" -password = "m347r0n1c" -database = "meatronic_test" - diff --git a/jLib.php b/jLib.php index de6f698..f9e330f 100755 --- a/jLib.php +++ b/jLib.php @@ -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