forbidroot plugin disabled by default
[bizou.git] / plugins / forbidroot / before_tpl.php
diff --git a/plugins/forbidroot/before_tpl.php b/plugins/forbidroot/before_tpl.php
deleted file mode 100644 (file)
index b9b5361..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-if ($GLOBALS['simplePath'] === "") {
-        header("HTTP/1.1 403 Forbidden");
-        die("Forbdidden directory");
-}
-
-if (dirname($GLOBALS['simplePath']) === "/") {
-       $GLOBALS['parentLink'] = "";
-}