mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Adds checks for mcrypt module for RINO2
- check for module on install - check for module when RINO2 is enabled in admin - check for module when RINO2 is used in communications
This commit is contained in:
parent
303a59f1d0
commit
554948c22a
4 changed files with 20 additions and 2 deletions
|
@ -551,7 +551,12 @@ function admin_page_site_post(&$a){
|
|||
set_config('system','old_pager', $old_pager);
|
||||
set_config('system','only_tag_search', $only_tag_search);
|
||||
|
||||
set_config('system','rino_encrypt', $rino);
|
||||
|
||||
if ($rino==2 and !function_exists('mcrypt_create_iv')){
|
||||
notice(t("RINO2 needs mcrypt php extension to work."));
|
||||
} else {
|
||||
set_config('system','rino_encrypt', $rino);
|
||||
}
|
||||
|
||||
set_config('system','embedly', $embedly);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue