/trunk/framework/Config.php |
---|
122,7 → 122,9 |
if ($param === null) { |
return null; |
} else { |
if (strpos($param, '.') !== false) { |
if (isset($config[$param])) { |
return $config[$param]; |
} else if (strpos($param, '.') !== false) { |
$pieces = explode('.', $param, 2); |
if (strlen($pieces[0]) && strlen($pieces[1])) { |
if (isset($config[$pieces[0]])) { |
132,11 → 134,8 |
} |
} |
} else { |
if (isset($config[$param])) { |
return $config[$param]; |
} |
return null; |
} |
return null; |
} |
} |