a couple of find/replace oversights

This commit is contained in:
AD7six 2011-04-17 13:32:08 +02:00
parent 42c5c6e7fe
commit ef684c3d94

View file

@ -928,7 +928,10 @@ class HtmlHelper extends AppHelper {
* @param string $path Path with config file
* @return mixed False to error or loaded configs
*/
public function loadConfig($configFile, $path = APP . 'Config' . DS) {
public function loadConfig($configFile, $path = null) {
if (!$path) {
$path = APP . 'Config' . DS;
}
$file = null;
$reader = 'php';