Add some more account actions,

Add return types,
This commit is contained in:
2024-01-31 22:05:23 +01:00
parent a4fd20ad00
commit 3d22ff555e
9 changed files with 194 additions and 26 deletions

View File

@@ -1,11 +1,12 @@
<?php
function renderDynamicPage($page_file)
function renderDynamicPage($page_file): false|string
{
require_once $page_file;
return render();
}
function getPage($page_name = null){
function getPage($page_name = null): array|false|string
{
global $routerConfig;
global $routerRequest;