Revision 92770ef6
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/Menu.pm | ||
---|---|---|
150 | 150 |
} elsif ($token eq ")") { |
151 | 151 |
pop @stack; |
152 | 152 |
if (!@stack) { |
153 |
die "Error in menu.ini for entry $node->{id}: missing '('";
|
|
153 |
die "Error while parsing menu entry $node->{id}: missing '('";
|
|
154 | 154 |
} |
155 | 155 |
$cur_ary = $stack[-1]; |
156 | 156 |
|
... | ... | |
167 | 167 |
} |
168 | 168 |
|
169 | 169 |
if ($access) { |
170 |
die "Error in menu.ini for entry $node->{id}: unrecognized token at the start of '$access'\n";
|
|
170 |
die "Error while parsing menu entry $node->{id}: unrecognized token at the start of '$access'\n";
|
|
171 | 171 |
} |
172 | 172 |
|
173 | 173 |
if (1 < scalar @stack) { |
174 |
die "Error in menu.ini for entry $node->{id}: Missing ')'\n";
|
|
174 |
die "Error while parsing menu entry $node->{id}: Missing ')'\n";
|
|
175 | 175 |
} |
176 | 176 |
|
177 | 177 |
return SL::Auth::evaluate_rights_ary($stack[0]); |
Auch abrufbar als: Unified diff
Menu: Fehlermeldungen Update