Skip to content
Permalink
Browse files

Fixing coding standards.

  • Loading branch information...
markstory committed Nov 28, 2010
1 parent 43c184b commit cc18c15e61fd6f2cf2f84f2ccbcb9e4722d0e92d
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/libs/controller/components/acl.php
@@ -622,7 +622,7 @@ public function check($aro, $aco, $aco_action = null) {
foreach ($userGroups as $group) {
if (array_key_exists($group, $aclConfig)) {
if (isset($aclConfig[$group]['deny'])) {
$groupDenies=$this->arrayTrim(explode(",", $aclConfig[$group]['deny']));
$groupDenies = $this->arrayTrim(explode(",", $aclConfig[$group]['deny']));
if (array_search($aco, $groupDenies)) {
return false;
@@ -669,13 +669,13 @@ public function readConfigFile($fileName) {
$value = substr($value, 1, -1);
}
$iniSetting[$sectionName][$key]=stripcslashes($value);
$iniSetting[$sectionName][$key] = stripcslashes($value);
} else {
if (!isset($sectionName)) {
$sectionName = '';
}
$iniSetting[$sectionName][strtolower(trim($dataLine))]='';
$iniSetting[$sectionName][strtolower(trim($dataLine))] = '';
}
}
}

0 comments on commit cc18c15

Please sign in to comment.
You can’t perform that action at this time.