Permalink
Browse files

removed localhost specific code

  • Loading branch information...
1 parent fb9920d commit b90ed76723a0a1ea39621b24b104a2f1d63e2bb0 unknown committed Mar 22, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 includes/func.global.php
  2. +0 −1 includes/inc.global.php
View
2 includes/func.global.php
@@ -140,7 +140,7 @@ function test_token($keep = false) {
call($_SESSION['token']);
call($_POST['token']);
- if (DEBUG || ('games' == $_SERVER['HTTP_HOST'])) {
+ if (DEBUG) {
return;
}
View
1 includes/inc.global.php
@@ -117,7 +117,6 @@ function stripslashes_deep($value) {
if ( ! isset($_SESSION['token'])) {
$_SESSION['token'] = md5(uniqid(rand( ), true));
}
-call($_SESSION['token']);
if ( ! defined('DEBUG')) {
if (test_debug( )) {

0 comments on commit b90ed76

Please sign in to comment.