projects
/
bizou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
--- a/
plugins/forbidroot/before_tpl.php
+++ /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'] = "";
-}