diff --git a/app/Bootstrap.php b/app/Bootstrap.php index 92a884c..c0b6fe2 100644 --- a/app/Bootstrap.php +++ b/app/Bootstrap.php @@ -4,9 +4,11 @@ error_reporting(E_ALL); ini_set( 'display_errors','1'); //setup +parse_str($_SERVER['QUERY_STRING'], $params); +$urlSes = str_replace((!empty ($params['url']) ? $params['url'] : ""), "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])); session_set_cookie_params( 1209600, - str_replace('login', "", str_replace('https://' . $_SERVER['HTTP_HOST'], "", $_SERVER['REQUEST_URI'])), + $urlSes, str_replace("/var/www/", "", $_SERVER['DOCUMENT_ROOT']), true, true diff --git a/app/controllers/pluginsController.php b/app/controllers/pluginsController.php index c14ec9f..5f7ab96 100644 --- a/app/controllers/pluginsController.php +++ b/app/controllers/pluginsController.php @@ -1,16 +1,28 @@ -
-
-
-
-
- -
-
-
- -
-
+
+
+
+
+
+ +
+
+
+ +
+
diff --git a/app/views/templates/plugins.phtml b/app/views/templates/plugins.phtml index 6a59b5d..a002f96 100644 --- a/app/views/templates/plugins.phtml +++ b/app/views/templates/plugins.phtml @@ -27,27 +27,16 @@
- prepare('langMng',$LANGMNG); $partial->prepare('pluginName',$plugin['name']); $partial->prepare('pluginStatus',$plugin['status']); $partial->render(); - + ?> -
-
- - - -
-
-
-
-
-