# HG changeset patch # User Dan # Date 1183646583 14400 # Node ID 30d2fb25afffeebb476d87ded571eaca50c7fac7 # Parent 45ebe475ff758ba79e20298f28186d943ccf20c2 Fixed weird unimportant security issue in admin panel + demo mode diff -r 45ebe475ff75 -r 30d2fb25afff 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 'Logs are recorded but not displayed for privacy purposes in the demo.'; } - else if ( defined('ENANO_DEMO_MODE') && isset($_GET['hash']) && $_GET['hash'] != $hash && substr($_SERVER['REMOTE_ADDR'], 0, 8) != '192.168.' ) - { - echo 'Invalid hash. Cheater.'; - } else { if(isset($_GET['fulllog']))