update marketing page

This commit is contained in:
2024-01-31 16:02:26 +07:00
parent caef156a05
commit 7a11011330
8 changed files with 423 additions and 212 deletions

View File

@@ -45,7 +45,7 @@ class AppAdmin
protected function getData() {
$module_file = $this->getModuleFile();
if(file_exists($module_file)) {
// print_r($this->current_route_info);
// die('Page '. $module_file .' not found!');

View File

@@ -26,7 +26,7 @@ class Router {
'view' => preg_replace("/[^a-z0-9_\-]/i","", getRequest('view', 'home')),
'view_id'=> 0,
'query' => $parsed['query'],
'url' => $parsed['path'],
'url' => $_SERVER['REQUEST_URI'],
];
}
@@ -60,7 +60,7 @@ class Router {
'view' => preg_replace("/[^a-z0-9_\-]/i","", $view ) ,
'view_id' => preg_replace("/[^a-z0-9_]/i","", $view_id ),
'query' => $parsed['query'],
'url' => $parsed['path'],
'url' => $_SERVER['REQUEST_URI'],
];
}