summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-01 00:18:42 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-01 00:18:42 +0300
commit9dd2345ecfff4f7d65ec106a8aee8d866c972585 (patch)
treef7330d1759b253cf9bc0e90bdade839aad3d1e48
parent696f4baeedab7710fd6aad474b5fe34f98093ca8 (diff)
use .phps extension for skin files
-rw-r--r--README.md2
-rw-r--r--engine/skin.php2
-rw-r--r--skin/admin.phps (renamed from skin/admin.skin.php)0
-rw-r--r--skin/base.phps (renamed from skin/base.skin.php)0
-rw-r--r--skin/error.phps (renamed from skin/error.skin.php)0
-rw-r--r--skin/main.phps (renamed from skin/main.skin.php)0
-rw-r--r--skin/markdown.phps (renamed from skin/markdown.skin.php)0
-rw-r--r--skin/rss.phps (renamed from skin/rss.skin.php)0
8 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2a80337..6898a63 100644
--- a/README.md
+++ b/README.md
@@ -68,4 +68,4 @@ I'm willing to pay $50 to $500 in crypto (depending on severity) for every disco
## License
-BSD-2-Clause \ No newline at end of file
+BSD-2-Clause
diff --git a/engine/skin.php b/engine/skin.php
index 6150668..a589370 100644
--- a/engine/skin.php
+++ b/engine/skin.php
@@ -96,7 +96,7 @@ class SkinContext {
function __construct(string $namespace) {
$this->ns = $namespace;
- require_once APP_ROOT.str_replace('\\', DIRECTORY_SEPARATOR, $namespace).'.skin.php';
+ require_once APP_ROOT.str_replace('\\', DIRECTORY_SEPARATOR, $namespace).'.phps';
}
function __call($name, array $arguments) {
diff --git a/skin/admin.skin.php b/skin/admin.phps
index d2fc148..d2fc148 100644
--- a/skin/admin.skin.php
+++ b/skin/admin.phps
diff --git a/skin/base.skin.php b/skin/base.phps
index d583ffe..d583ffe 100644
--- a/skin/base.skin.php
+++ b/skin/base.phps
diff --git a/skin/error.skin.php b/skin/error.phps
index 8f7e4c7..8f7e4c7 100644
--- a/skin/error.skin.php
+++ b/skin/error.phps
diff --git a/skin/main.skin.php b/skin/main.phps
index 3ce9985..3ce9985 100644
--- a/skin/main.skin.php
+++ b/skin/main.phps
diff --git a/skin/markdown.skin.php b/skin/markdown.phps
index 58801f5..58801f5 100644
--- a/skin/markdown.skin.php
+++ b/skin/markdown.phps
diff --git a/skin/rss.skin.php b/skin/rss.phps
index 0806182..0806182 100644
--- a/skin/rss.skin.php
+++ b/skin/rss.phps