We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5f7c5 commit e964e01Copy full SHA for e964e01
src/Core/Path.php
@@ -14,6 +14,7 @@ class Path {
14
const PAGE = "page";
15
const ROOT = "root";
16
const ASSET = "asset";
17
+const TEMPLATE = "template";
18
const SCRIPT = "script";
19
const STYLE = "style";
20
const API = "api";
@@ -59,6 +60,10 @@ public static function get($name) {
59
60
$p = self::get(self::SRC) . "/Page";
61
break;
62
63
+ case self::TEMPLATE:
64
+ $p = self::get(self::SRC) . "/Template";
65
+ break;
66
+
67
case self::ROOT:
68
if(empty($_SERVER["DOCUMENT_ROOT"])) {
69
$p = getcwd();
0 commit comments