mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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
|
* @return array INI section structure
|
||||||
*/
|
*/
|
||||||
public function readConfigFile($filename) {
|
public function readConfigFile($filename) {
|
||||||
App::import('Core', 'config/IniFile');
|
App::import('Core', 'config/IniReader');
|
||||||
$iniFile = new IniFile($filename);
|
$iniFile = new IniReader(dirname($filename) . DS);
|
||||||
return $iniFile->asArray();
|
return $iniFile->read(basename($filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue