1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-05 18:38:18 +03:00

fix security plugin

This commit is contained in:
Mzhelskiy Maxim 2010-05-04 12:54:58 +00:00
parent b2bae8f4d8
commit 48ac05b6e1
8 changed files with 32 additions and 0 deletions

View file

@ -15,6 +15,13 @@
---------------------------------------------------------
*/
/**
* Запрещаем напрямую через браузер обращение к этому файлу.
*/
if (!class_exists('Plugin')) {
die('Hacking attemp!');
}
class PluginPage extends Plugin {
/**

View file

@ -0,0 +1,2 @@
Order Deny,Allow
Deny from all

View file

@ -0,0 +1,2 @@
Order Deny,Allow
Deny from all

View file

@ -0,0 +1,5 @@
Options -Indexes
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>

View file

@ -15,6 +15,13 @@
---------------------------------------------------------
*/
/**
* Запрещаем напрямую через браузер обращение к этому файлу.
*/
if (!class_exists('Plugin')) {
die('Hacking attemp!');
}
class PluginProfiler extends Plugin {
/**
* Активация плагина Профайлер.

View file

@ -0,0 +1,2 @@
Order Deny,Allow
Deny from all

View file

@ -0,0 +1,2 @@
Order Deny,Allow
Deny from all

View file

@ -0,0 +1,5 @@
Options -Indexes
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>