diff --git a/lib/Cake/Configure/IniReader.php b/lib/Cake/Configure/IniReader.php index 900d65489..1e5180ff5 100644 --- a/lib/Cake/Configure/IniReader.php +++ b/lib/Cake/Configure/IniReader.php @@ -77,6 +77,9 @@ class IniReader implements ConfigReaderInterface { * all sections in the ini file. */ public function __construct($path, $section = null) { + if (!$path) { + $path = APP . 'Config' . DS; + } $this->_path = $path; $this->_section = $section; }