mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Update lib/Cake/Configure/IniReader.php
Copied standard path from PhpReader
This commit is contained in:
parent
f155687cfa
commit
a4c382b23a
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ class IniReader implements ConfigReaderInterface {
|
||||||
* all sections in the ini file.
|
* all sections in the ini file.
|
||||||
*/
|
*/
|
||||||
public function __construct($path, $section = null) {
|
public function __construct($path, $section = null) {
|
||||||
|
if (!$path) {
|
||||||
|
$path = APP . 'Config' . DS;
|
||||||
|
}
|
||||||
$this->_path = $path;
|
$this->_path = $path;
|
||||||
$this->_section = $section;
|
$this->_section = $section;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue