diff --git a/index.php b/index.php index 708a9e3..e77be4e 100644 --- a/index.php +++ b/index.php @@ -77,6 +77,8 @@ if (dirname($simplePath) !== '') else $parentLink = ""; +plugins_include("before_tpl.php"); + ///// template starts here ///// header('Content-Type: text/html; charset=utf-8'); header('Cache-Control: max-age=3600'); diff --git a/plugins/forbidroot/before_tpl.php b/plugins/forbidroot/before_tpl.php new file mode 100644 index 0000000..b9b5361 --- /dev/null +++ b/plugins/forbidroot/before_tpl.php @@ -0,0 +1,10 @@ +