Project

General

Profile

Bug #23860 » afoeder_0046393.patch

Administrator Admin, 2011-01-20 12:33

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
}
(1-1/2)