security thing
This commit is contained in:
parent
b2e7e8ea0e
commit
42877b5600
@ -3,6 +3,11 @@
|
|||||||
// If you're using a different global default layout name, change it here
|
// If you're using a different global default layout name, change it here
|
||||||
$layout = 'application';
|
$layout = 'application';
|
||||||
|
|
||||||
|
if (!isset($_SERVER['REDIRECT_URL'])) {
|
||||||
|
header('HTTP/1.1 403 Forbidden');
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
// END OF USER-CONFIGURABLE SETTINGS
|
// END OF USER-CONFIGURABLE SETTINGS
|
||||||
|
|
||||||
function fe_check($path) {
|
function fe_check($path) {
|
||||||
|
Loading…
Reference in New Issue
Block a user