- Minor bugfixes dones

This commit is contained in:
mcndave committed 2023-03-23 15:07:35 +00:00
1 parent bf1bec644b
commit eda0ee6f33
3 files changed
+5 -7

No files matched your search

+2 -4
View File
@@ -3,13 +3,11 @@
namespace Lean\Console\Controller;
use League\Route\Router;
use Picea\{ FileFetcher, Picea ,Caching\Opcache, Extension\UrlExtension };
use Picea\{FileFetcher, Picea, Caching\Opcache, Extension\UrlExtension, Ui\Method\FormHandler};
use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
use Lean\Console\{ Form, Lib };
use Notes\Tell\Attribute\Language, Notes\Route\Attribute\Method\Route;
use function Home\View\{ _, lang, url, route, form };
#[Language("lean.caching")]
class Caching extends Console {
use Lib\ConsoleControllerTrait;
@@ -20,7 +18,7 @@ class Caching extends Console {
$list = [];
if ( isset($this->picea) ) {
form(new Form\Caching\Picea($this->picea, $list), $this->pushContext(new Lib\FormContext($request, "caching.picea")));
new FormHandler($request, new Form\Caching\Picea($this->picea, $list), $this->pushContext(new Lib\FormContext($request, "caching.picea")));
}
return $this->renderView("lean-console/page/caching/picea", get_defined_vars());