Test page title
This commit is contained in:
parent
fa0a521e70
commit
dca021b5b0
@ -5,8 +5,9 @@ function getDynamicMetadata($file): array{
|
|||||||
return include($file);
|
return include($file);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDynamicPermission($params): int {
|
function getDynamicPermission($metadata): int {
|
||||||
global $routerConfig;
|
global $routerConfig;
|
||||||
|
$params = $metadata["parameters"];
|
||||||
try {
|
try {
|
||||||
$permission_level = $params["minimal_permission_level"];
|
$permission_level = $params["minimal_permission_level"];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user