Commit 6a496796 authored by Fabian Reimeier's avatar Fabian Reimeier
Browse files

Renaming

parent d07cabb4
......@@ -7,7 +7,7 @@ class Config {
static function get($group){
if (!isset($config)){
$cfile = (isset($_SERVER['HTTP_HOST'])) ? __DIR__.'/../../'.$_SERVER['HTTP_HOST'].'.conf' : __DIR__.'/../../application.conf';
$cfile = (isset($_SERVER['HTTP_HOST'])) ? __DIR__.'/../../'.$_SERVER['HTTP_HOST'].'.conf' : __DIR__.'/../../default.host.conf';
$config = parse_ini_file($cfile, true);
}
return (isset($group)) ? $config[$group] : $config;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment