From 29629e9fe424da95c91f41d03ab16b1b4abc29c0 Mon Sep 17 00:00:00 2001 From: hetao Date: Wed, 22 Mar 2023 12:09:18 +0800 Subject: [PATCH] add type --- SlightPHP.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SlightPHP.php b/SlightPHP.php index 8101b31..596baf4 100644 --- a/SlightPHP.php +++ b/SlightPHP.php @@ -50,6 +50,12 @@ final class SlightPHP{ */ public static $defaultPage="page"; + /** + * current type + * @var string + */ + public static $type; + /** * default file type, like $defaultZone.$defaultType.php * @var string