From ef684c3d94b3f18b9f9385e19e91a3841f5161ef Mon Sep 17 00:00:00 2001 From: AD7six Date: Sun, 17 Apr 2011 13:32:08 +0200 Subject: [PATCH] a couple of find/replace oversights --- lib/Cake/View/Helper/HtmlHelper.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Cake/View/Helper/HtmlHelper.php b/lib/Cake/View/Helper/HtmlHelper.php index 3ba049b4e..382f78b14 100644 --- a/lib/Cake/View/Helper/HtmlHelper.php +++ b/lib/Cake/View/Helper/HtmlHelper.php @@ -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';