Browse Source

Added index.php files for security purposes in these directories:
- "Themes/default/images/theme"
- "Themes/default/images/membericons"
- "Themes/default/images/admin/big"

Signed-off-by: Xarcell <[email protected]>

Xarcell 11 năm trước cách đây
mục cha
commit
bd883fde7e

+ 9 - 0
Themes/default/images/admin/big/index.php

@@ -0,0 +1,9 @@
+<?php
+
+// Try to handle it with the upper level index.php. (it should know what to do.)
+if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
+	include (dirname(dirname(__FILE__)) . '/index.php');
+else
+	exit;
+
+?>

+ 9 - 0
Themes/default/images/membericons/index.php

@@ -0,0 +1,9 @@
+<?php
+
+// Try to handle it with the upper level index.php. (it should know what to do.)
+if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
+	include (dirname(dirname(__FILE__)) . '/index.php');
+else
+	exit;
+
+?>

+ 9 - 0
Themes/default/images/theme/index.php

@@ -0,0 +1,9 @@
+<?php
+
+// Try to handle it with the upper level index.php. (it should know what to do.)
+if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
+	include (dirname(dirname(__FILE__)) . '/index.php');
+else
+	exit;
+
+?>