Skip to content
Permalink
Browse files

fixed ocprop detection

  • Loading branch information...
following5 committed Jan 5, 2016
1 parent 8ae37ab commit 48ea31690cddf79f97e3fff1ffda6e89cb829250
Showing with 2 additions and 2 deletions.
  1. +1 −1 htdocs/lib/common.inc.php
  2. +1 −1 htdocs/lib2/common.inc.php
@@ -264,7 +264,7 @@ function __autoload($class_name)
}
// are we Ocprop?
$ocpropping = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],"Ocprop/");
$ocpropping = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], "Ocprop/") !== false;
// zeitmessung
require_once($rootpath . 'lib/bench.inc.php');
@@ -248,7 +248,7 @@ function check_useragent()
global $ocpropping;
// are we Ocprop?
$ocpropping = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],"Ocprop/");
$ocpropping = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], "Ocprop/") !== false;
}
function fix_magic_quotes_gpc()

0 comments on commit 48ea316

Please sign in to comment.
You can’t perform that action at this time.