clone systems apps to the extent possible, auto-configure imagick thumbnail binary during setup if possible
This commit is contained in:
@@ -472,6 +472,9 @@ class Import extends \Zotlabs\Web\Controller {
|
||||
if(is_array($data['app']))
|
||||
import_apps($channel,$data['app']);
|
||||
|
||||
if(is_array($data['sysapp']))
|
||||
import_sysapps($channel,$data['sysapp']);
|
||||
|
||||
if(is_array($data['chatroom']))
|
||||
import_chatrooms($channel,$data['chatroom']);
|
||||
|
||||
|
||||
@@ -732,6 +732,12 @@ class Setup extends \Zotlabs\Web\Controller {
|
||||
// install the standard theme
|
||||
set_config('system', 'allowed_themes', 'redbasic');
|
||||
|
||||
// if imagick converter is installed, use it
|
||||
if(@is_executable('/usr/bin/convert')) {
|
||||
set_config('system','imagick_convert_path','/usr/bin/convert');
|
||||
}
|
||||
|
||||
|
||||
// Set a lenient list of ciphers if using openssl. Other ssl engines
|
||||
// (e.g. NSS used in RedHat) require different syntax, so hopefully
|
||||
// the default curl cipher list will work for most sites. If not,
|
||||
|
||||
Reference in New Issue
Block a user