@@ 85-94 (lines=10) @@ | ||
82 | continue; |
|
83 | } |
|
84 | ||
85 | if (isset($config['except'])) { |
|
86 | $except = $config['except']; |
|
87 | if (is_array($except) |
|
88 | ? in_array($class, $except) |
|
89 | : $except == $class |
|
90 | ) { |
|
91 | unset($areas[$area]); |
|
92 | continue; |
|
93 | } |
|
94 | } |
|
95 | ||
96 | if (isset($config['only'])) { |
|
97 | $only = $config['only']; |
|
@@ 96-105 (lines=10) @@ | ||
93 | } |
|
94 | } |
|
95 | ||
96 | if (isset($config['only'])) { |
|
97 | $only = $config['only']; |
|
98 | if (is_array($only) |
|
99 | ? !in_array($class, $only) |
|
100 | : $only != $class |
|
101 | ) { |
|
102 | unset($areas[$area]); |
|
103 | continue; |
|
104 | } |
|
105 | } |
|
106 | } |
|
107 | ||
108 | if (count($areas)) { |