From d8fb950776a617e8ddccfe7f67455256dc21207a Mon Sep 17 00:00:00 2001 From: Taufik Nurrohman Date: Mon, 5 Feb 2024 09:00:09 +0700 Subject: [PATCH] Add Empty Private State for Extension(s) --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 2dbed07..d315c1c 100644 --- a/index.php +++ b/index.php @@ -70,6 +70,7 @@ function route($content, $path) { namespace x\layout\content { function state() { + \State::set('[x]', []); foreach (['are', 'as', 'can', 'has', 'is', 'not', 'of', 'with'] as $v) { foreach ((array) \State::get($v, true) as $kk => $vv) { \State::set('[y].' . $v . ':' . $kk, $vv);