update marketing page
This commit is contained in:
@@ -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!');
|
||||
|
||||
@@ -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'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user