check for mcrypt_decrypt
This commit is contained in:
parent
eb94939652
commit
7d61392bfd
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@
|
|||
if (!function_exists('json_decode')) {
|
||||
throw new Exception('Snaphax needs the JSON PHP extension.');
|
||||
}
|
||||
if (!function_exists('mcrypt_decrypt')) {
|
||||
throw new Exception('Snaphax needs the mcrypt PHP extension.');
|
||||
}
|
||||
|
||||
class Snaphax {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue