Fixed weird unimportant security issue in admin panel + demo mode
authorDan
Thu, 05 Jul 2007 10:43:03 -0400
changeset 43 30d2fb25afff
parent 42 45ebe475ff75
child 44 90b557e7f12c
Fixed weird unimportant security issue in admin panel + demo mode
plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php	Thu Jul 05 10:37:36 2007 -0400
+++ b/plugins/SpecialAdmin.php	Thu Jul 05 10:43:03 2007 -0400
@@ -114,10 +114,6 @@
   {
     echo '<tr><td class="row1" colspan="4">Logs are recorded but not displayed for privacy purposes in the demo.</td></tr>';
   }
-  else if ( defined('ENANO_DEMO_MODE') && isset($_GET['hash']) && $_GET['hash'] != $hash && substr($_SERVER['REMOTE_ADDR'], 0, 8) != '192.168.' )
-  {
-    echo '<tr><td class="row1" colspan="4">Invalid hash. Cheater.</td></tr>';
-  }
   else
   {
     if(isset($_GET['fulllog']))