Changing IniAcl to use IniReader.

This commit is contained in:
mark_story 2010-12-04 14:47:47 -05:00
parent 159f25ff0f
commit ae814db2dd

View file

@ -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));
}
/**