fixing probs with debian woody which is php >= 4.1.1, but lacks mcrypt_generic_deinit

This commit is contained in:
Ralf Becker 2004-07-11 13:37:30 +00:00
parent 23cbfee599
commit f7d51c9e57

View File

@ -129,7 +129,7 @@
{
if($this->mcrypt_version != 'old')
{
if(phpversion() >= '4.1.1')
if(function_exists('mcrypt_generic_deinit'))
{
mcrypt_generic_deinit($this->td);
}