action button class

This commit is contained in:
2024-11-19 13:41:13 +03:00
parent 772ad48961
commit 0f47f73dda
10 changed files with 67 additions and 29 deletions

View File

@ -11,7 +11,7 @@ class Widget
public function __construct(array $data = [])
{
$this->cgView = new CgView();
$this->cgView->viewPath = ROOT_DIR . "/views/widgets";
$this->cgView->viewPath = KERNEL_DIR . "/views/widgets";
$this->data = $data;