Permalink
Browse files

Update lib/Cake/Configure/IniReader.php

Copied standard path from PhpReader
  • Loading branch information...
1 parent f155687 commit a4c382b23a518d01d1866d2d3584d602487c952d schrolli committed Sep 2, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 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;
}

0 comments on commit a4c382b

Please sign in to comment.