Skip to content

Commit e964e01

Browse files
author
Greg Bowler
authored
Template directory
1 parent ea5f7c5 commit e964e01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Core/Path.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Path {
1414
const PAGE = "page";
1515
const ROOT = "root";
1616
const ASSET = "asset";
17+
const TEMPLATE = "template";
1718
const SCRIPT = "script";
1819
const STYLE = "style";
1920
const API = "api";
@@ -59,6 +60,10 @@ public static function get($name) {
5960
$p = self::get(self::SRC) . "/Page";
6061
break;
6162

63+
case self::TEMPLATE:
64+
$p = self::get(self::SRC) . "/Template";
65+
break;
66+
6267
case self::ROOT:
6368
if(empty($_SERVER["DOCUMENT_ROOT"])) {
6469
$p = getcwd();

0 commit comments

Comments
 (0)