Update lib/Cake/Configure/IniReader.php

Copied standard path from PhpReader
This commit is contained in:
schrolli 2012-09-02 06:02:30 +03:00
parent f155687cfa
commit a4c382b23a

View file

@ -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;
}