From a4c382b23a518d01d1866d2d3584d602487c952d Mon Sep 17 00:00:00 2001 From: schrolli <d.schrolli@gmail.com> Date: Sun, 2 Sep 2012 06:02:30 +0300 Subject: [PATCH] Update lib/Cake/Configure/IniReader.php Copied standard path from PhpReader --- lib/Cake/Configure/IniReader.php | 3 +++ 1 file changed, 3 insertions(+) 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; }