Project

General

Profile

Bug #23860 » afoeder_0046393_2.patch

Administrator Admin, 2011-01-21 10:12

View differences:

class.t3lib_div.php (working copy)
if (class_exists('COM')) {
try {
$com = new COM('CAPICOM.Utilities.1');
$output = base64_decode($com->GetRandom($count, 0));
if(is_callable(array($com,'GetRandom'))) {
$output = base64_decode($com->GetRandom($count, 0));
}
} catch (Exception $e) {
// CAPICOM not installed
}
(2-2/2)