mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Changing IniAcl to use IniReader.
This commit is contained in:
parent
159f25ff0f
commit
ae814db2dd
1 changed files with 3 additions and 3 deletions
|
@ -662,9 +662,9 @@ class IniAcl extends Object implements AclInterface {
|
|||
* @return array INI section structure
|
||||
*/
|
||||
public function readConfigFile($filename) {
|
||||
App::import('Core', 'config/IniFile');
|
||||
$iniFile = new IniFile($filename);
|
||||
return $iniFile->asArray();
|
||||
App::import('Core', 'config/IniReader');
|
||||
$iniFile = new IniReader(dirname($filename) . DS);
|
||||
return $iniFile->read(basename($filename));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue