From a23dca91e118df99c681c8aa54a945322f5317ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Tue, 9 Feb 2021 01:18:30 +0530 Subject: [PATCH] Fix 2.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Darkā¶ --- core/core.php | 5 +++++ core/{ => traits}/customise.php | 2 +- core/{ => traits}/get_set.php | 2 +- core/{ => traits}/rewriter.php | 2 +- core/{ => traits}/seo.php | 2 +- core/{ => traits}/url.php | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) rename core/{ => traits}/customise.php (99%) rename core/{ => traits}/get_set.php (99%) rename core/{ => traits}/rewriter.php (99%) rename core/{ => traits}/seo.php (99%) rename core/{ => traits}/url.php (99%) diff --git a/core/core.php b/core/core.php index 9019f7b..b392e4c 100644 --- a/core/core.php +++ b/core/core.php @@ -17,6 +17,11 @@ use phpbb\request\request; use phpbb\user; use phpbb\auth\auth; +use phpbbseo\usu\core\traits\customise; +use phpbbseo\usu\core\traits\rewriter; +use phpbbseo\usu\core\traits\url; +use phpbbseo\usu\core\traits\seo; +use phpbbseo\usu\core\traits\get_set; /** * core Class diff --git a/core/customise.php b/core/traits/customise.php similarity index 99% rename from core/customise.php rename to core/traits/customise.php index 482dcc1..ad1e732 100644 --- a/core/customise.php +++ b/core/traits/customise.php @@ -8,7 +8,7 @@ * */ -namespace phpbbseo\usu\core; +namespace phpbbseo\usu\core\traits; /** * customize trait diff --git a/core/get_set.php b/core/traits/get_set.php similarity index 99% rename from core/get_set.php rename to core/traits/get_set.php index 4d33d88..c47ce4b 100644 --- a/core/get_set.php +++ b/core/traits/get_set.php @@ -8,7 +8,7 @@ * */ -namespace phpbbseo\usu\core; +namespace phpbbseo\usu\core\traits; /** * get_set trait diff --git a/core/rewriter.php b/core/traits/rewriter.php similarity index 99% rename from core/rewriter.php rename to core/traits/rewriter.php index c54321d..34a047b 100644 --- a/core/rewriter.php +++ b/core/traits/rewriter.php @@ -8,7 +8,7 @@ * */ -namespace phpbbseo\usu\core; +namespace phpbbseo\usu\core\traits; /** * rewriter trait diff --git a/core/seo.php b/core/traits/seo.php similarity index 99% rename from core/seo.php rename to core/traits/seo.php index 4a811ce..970ad64 100644 --- a/core/seo.php +++ b/core/traits/seo.php @@ -8,7 +8,7 @@ * */ -namespace phpbbseo\usu\core; +namespace phpbbseo\usu\core\traits; /** * seo trait diff --git a/core/url.php b/core/traits/url.php similarity index 99% rename from core/url.php rename to core/traits/url.php index 6c204c8..fee3cb1 100644 --- a/core/url.php +++ b/core/traits/url.php @@ -8,7 +8,7 @@ * */ -namespace phpbbseo\usu\core; +namespace phpbbseo\usu\core\traits; /** * url trait