Fixed inclusion protection HEAD
authorDirk Haun <dirk@haun-online.de>
Thu Oct 29 13:00:11 2009 +0100 (4 months ago)
branchHEAD
changeset 7397c27e9026f22a
parent 7396ec6b034771a6
child 7398e1700815379b
Fixed inclusion protection
plugins/spamx/BlackList.Examine.class.php
plugins/spamx/DeleteComment.Action.class.php
plugins/spamx/EditBlackList.Admin.class.php
plugins/spamx/EditHeader.Admin.class.php
plugins/spamx/EditIP.Admin.class.php
plugins/spamx/EditIPofURL.Admin.class.php
plugins/spamx/Header.Examine.class.php
plugins/spamx/IP.Examine.class.php
plugins/spamx/IPofUrl.Examine.class.php
plugins/spamx/Import.Admin.class.php
plugins/spamx/LogView.Admin.class.php
plugins/spamx/MTBlackList.Examine.class.php
plugins/spamx/MailAdmin.Action.class.php
plugins/spamx/MassDelTrackback.Admin.class.php
plugins/spamx/MassDelete.Admin.class.php
plugins/spamx/SLV.Examine.class.php
plugins/spamx/SLVbase.class.php
plugins/spamx/SLVreport.Action.class.php
plugins/spamx/SLVwhitelist.Admin.class.php
     1.1 --- a/plugins/spamx/BlackList.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
     1.2 +++ b/plugins/spamx/BlackList.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4   * @subpackage Modules
     1.5   */
     1.6  
     1.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'BlackList.Examine.class.php') !== false) {
     1.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'blacklist.examine.class.php') !== false) {
     1.9      die('This file can not be used on its own!');
    1.10  }
    1.11  
     2.1 --- a/plugins/spamx/DeleteComment.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
     2.2 +++ b/plugins/spamx/DeleteComment.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
     2.3 @@ -13,7 +13,7 @@
     2.4   * @subpackage Modules
     2.5   */
     2.6  
     2.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'DeleteComment.Action.class.php') !== false) {
     2.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'deletecomment.action.class.php') !== false) {
     2.9      die('This file can not be used on its own!');
    2.10  }
    2.11  
     3.1 --- a/plugins/spamx/EditBlackList.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
     3.2 +++ b/plugins/spamx/EditBlackList.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
     3.3 @@ -14,7 +14,7 @@
     3.4   * @subpackage Modules
     3.5   */
     3.6  
     3.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditBlackList.Admin.class.php') !== false) {
     3.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'editblacklist.admin.class.php') !== false) {
     3.9      die('This file can not be used on its own!');
    3.10  }
    3.11  
     4.1 --- a/plugins/spamx/EditHeader.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
     4.2 +++ b/plugins/spamx/EditHeader.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
     4.3 @@ -15,7 +15,7 @@
     4.4  * @subpackage Modules
     4.5  */
     4.6  
     4.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditHeader.Admin.class.php') !== false) {
     4.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'editheader.admin.class.php') !== false) {
     4.9      die('This file can not be used on its own!');
    4.10  }
    4.11  
     5.1 --- a/plugins/spamx/EditIP.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
     5.2 +++ b/plugins/spamx/EditIP.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
     5.3 @@ -14,7 +14,7 @@
     5.4  * @subpackage Modules
     5.5  */
     5.6  
     5.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditIP.Admin.class.php') !== false) {
     5.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'editip.admin.class.php') !== false) {
     5.9      die('This file can not be used on its own!');
    5.10  }
    5.11  
     6.1 --- a/plugins/spamx/EditIPofURL.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
     6.2 +++ b/plugins/spamx/EditIPofURL.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
     6.3 @@ -14,7 +14,7 @@
     6.4  * @subpackage Modules
     6.5  */
     6.6  
     6.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditIPofURL.Admin.class.php') !== false) {
     6.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'editipofurl.admin.class.php') !== false) {
     6.9      die('This file can not be used on its own!');
    6.10  }
    6.11  
     7.1 --- a/plugins/spamx/Header.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
     7.2 +++ b/plugins/spamx/Header.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
     7.3 @@ -15,7 +15,7 @@
     7.4  * @subpackage Modules
     7.5  */
     7.6  
     7.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'Header.Examine.class.php') !== false) {
     7.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'header.examine.class.php') !== false) {
     7.9      die('This file can not be used on its own!');
    7.10  }
    7.11  
     8.1 --- a/plugins/spamx/IP.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
     8.2 +++ b/plugins/spamx/IP.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
     8.3 @@ -13,7 +13,7 @@
     8.4  * @subpackage Modules
     8.5  */
     8.6  
     8.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'IP.Examine.class.php') !== false) {
     8.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'ip.examine.class.php') !== false) {
     8.9      die('This file can not be used on its own!');
    8.10  }
    8.11  
     9.1 --- a/plugins/spamx/IPofUrl.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
     9.2 +++ b/plugins/spamx/IPofUrl.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
     9.3 @@ -13,7 +13,7 @@
     9.4  * @subpackage Modules
     9.5  */
     9.6  
     9.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'IPofUrl.Examine.class.php') !== false) {
     9.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'ipofurl.examine.class.php') !== false) {
     9.9      die('This file can not be used on its own!');
    9.10  }
    9.11  
    10.1 --- a/plugins/spamx/Import.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
    10.2 +++ b/plugins/spamx/Import.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
    10.3 @@ -19,7 +19,7 @@
    10.4   * @subpackage Modules
    10.5   */
    10.6  
    10.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'Import.Admin.class.php') !== false) {
    10.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'import.admin.class.php') !== false) {
    10.9      die('This file can not be used on its own!');
   10.10  }
   10.11  
    11.1 --- a/plugins/spamx/LogView.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
    11.2 +++ b/plugins/spamx/LogView.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
    11.3 @@ -13,7 +13,7 @@
    11.4   * @subpackage Modules
    11.5   */
    11.6  
    11.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'LogView.Admin.class.php') !== false) {
    11.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'logview.admin.class.php') !== false) {
    11.9      die('This file can not be used on its own!');
   11.10  }
   11.11  
    12.1 --- a/plugins/spamx/MTBlackList.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
    12.2 +++ b/plugins/spamx/MTBlackList.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
    12.3 @@ -17,7 +17,7 @@
    12.4   * @subpackage Modules
    12.5   */
    12.6  
    12.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'MTBlackList.Examine.class.php') !== false) {
    12.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'mtblacklist.examine.class.php') !== false) {
    12.9      die('This file can not be used on its own!');
   12.10  }
   12.11  
    13.1 --- a/plugins/spamx/MailAdmin.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
    13.2 +++ b/plugins/spamx/MailAdmin.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
    13.3 @@ -13,7 +13,7 @@
    13.4   * @subpackage Modules
    13.5   */
    13.6  
    13.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'MailAdmin.Action.class.php') !== false) {
    13.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'mailadmin.action.class.php') !== false) {
    13.9      die('This file can not be used on its own!');
   13.10  }
   13.11  
    14.1 --- a/plugins/spamx/MassDelTrackback.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
    14.2 +++ b/plugins/spamx/MassDelTrackback.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
    14.3 @@ -16,7 +16,7 @@
    14.4  * @subpackage Modules
    14.5  */
    14.6  
    14.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'MassDelTrackback.Admin.class.php') !== false) {
    14.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'massdeltrackback.admin.class.php') !== false) {
    14.9      die('This file can not be used on its own!');
   14.10  }
   14.11  
    15.1 --- a/plugins/spamx/MassDelete.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
    15.2 +++ b/plugins/spamx/MassDelete.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
    15.3 @@ -14,7 +14,7 @@
    15.4  * @subpackage Modules
    15.5  */
    15.6  
    15.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'MassDelete.Admin.class.php') !== false) {
    15.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'massdelete.admin.class.php') !== false) {
    15.9      die('This file can not be used on its own!');
   15.10  }
   15.11  
    16.1 --- a/plugins/spamx/SLV.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
    16.2 +++ b/plugins/spamx/SLV.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
    16.3 @@ -13,7 +13,7 @@
    16.4  * @subpackage Modules
    16.5  */
    16.6  
    16.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLV.Examine.class.php') !== false) {
    16.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'slv.examine.class.php') !== false) {
    16.9      die('This file can not be used on its own!');
   16.10  }
   16.11  
    17.1 --- a/plugins/spamx/SLVbase.class.php	Thu Oct 29 12:03:12 2009 +0100
    17.2 +++ b/plugins/spamx/SLVbase.class.php	Thu Oct 29 13:00:11 2009 +0100
    17.3 @@ -13,7 +13,7 @@
    17.4  * @subpackage Modules
    17.5  */
    17.6  
    17.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVbase.class.php') !== false) {
    17.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvbase.class.php') !== false) {
    17.9      die('This file can not be used on its own!');
   17.10  }
   17.11  
    18.1 --- a/plugins/spamx/SLVreport.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
    18.2 +++ b/plugins/spamx/SLVreport.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
    18.3 @@ -13,7 +13,7 @@
    18.4  * @subpackage Modules
    18.5  */
    18.6  
    18.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVreport.Action.class.php') !== false) {
    18.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvreport.action.class.php') !== false) {
    18.9      die('This file can not be used on its own!');
   18.10  }
   18.11  
    19.1 --- a/plugins/spamx/SLVwhitelist.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
    19.2 +++ b/plugins/spamx/SLVwhitelist.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
    19.3 @@ -14,7 +14,7 @@
    19.4  * @subpackage Modules
    19.5  */
    19.6  
    19.7 -if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVwhitelist.Admin.class.php') !== false) {
    19.8 +if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvwhitelist.admin.class.php') !== false) {
    19.9      die('This file can not be used on its own!');
   19.10  }
   19.11