diff --git a/cake/libs/controller/components/acl.php b/cake/libs/controller/components/acl.php index 77f2cccc2..659f6869b 100644 --- a/cake/libs/controller/components/acl.php +++ b/cake/libs/controller/components/acl.php @@ -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)); } /**