From c7a3f20ee13e2185ee7d555f48f6c4b216fc8b07 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 23 Jun 2019 01:05:05 +0300 Subject: [PATCH] Admin Panel: Tools #170 #165 - Registry tab updates --- .../admin/app/Controllers/ToolsController.php | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/site/plugins/admin/app/Controllers/ToolsController.php b/site/plugins/admin/app/Controllers/ToolsController.php index 57b1cd3d..7e582b77 100644 --- a/site/plugins/admin/app/Controllers/ToolsController.php +++ b/site/plugins/admin/app/Controllers/ToolsController.php @@ -158,7 +158,7 @@ class ToolsController extends Controller 'plugins/admin/views/templates/system/tools/registry.html', [ 'menu_item' => 'tools', - 'registry_dump' => $this->niceArray($this->registry->dump()), + 'registry_dump' => $this->dotArray($this->registry->dump()), 'links' => [ 'information' => [ 'link' => $this->router->pathFor('admin.tools.index'), @@ -202,20 +202,18 @@ class ToolsController extends Controller } - function niceArray($arr){ - $retStr = ''; + return $results; - return $retStr; } public function getDirectorySize($path)