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