From aa44966e8c2598e5861f1f70033b745b239c2cae Mon Sep 17 00:00:00 2001 From: Taufik Nurrohman Date: Mon, 26 Aug 2024 21:27:02 +0700 Subject: [PATCH] Prioritize Exact Method Name --- about.page | 2 +- engine/kernel/page.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/about.page b/about.page index 27d89f2..69c122e 100755 --- a/about.page +++ b/about.page @@ -5,7 +5,7 @@ icon: 'M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 color: '#75522f' author: Taufik Nurrohman type: Markdown -version: 3.1.2 +version: 3.1.3 ... This extension uses the structure of the page file location in the `.\lot\page` folder to enable the basic functions of diff --git a/engine/kernel/page.php b/engine/kernel/page.php index 26684bd..9a67c38 100644 --- a/engine/kernel/page.php +++ b/engine/kernel/page.php @@ -14,6 +14,9 @@ protected function _e($v) { } public function __call(string $kin, array $lot = []) { + if (parent::_($kin)) { + return parent::__call($kin, $lot); + } if (parent::_($kin = p2f($kin))) { return parent::__call($kin, $lot); }