mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 10:15:12 +00:00
setup: we actually don't require proc_open any more, so remove that check.
This commit is contained in:
parent
df23ef36c7
commit
5cb638bd41
1 changed files with 3 additions and 9 deletions
|
@ -511,12 +511,6 @@ class Setup extends \Zotlabs\Web\Controller {
|
|||
$this->check_add($ck_funcs, t('Apache mod_rewrite module'), true, true);
|
||||
}
|
||||
}
|
||||
if((! function_exists('proc_open')) || strstr(ini_get('disable_functions'),'proc_open')) {
|
||||
$this->check_add($ck_funcs, t('proc_open'), false, true, t('Error: proc_open is required but is either not installed or has been disabled in php.ini'));
|
||||
}
|
||||
else {
|
||||
$this->check_add($ck_funcs, t('proc_open'), true, true);
|
||||
}
|
||||
if((! function_exists('exec')) || strstr(ini_get('disable_functions'),'exec')) {
|
||||
$this->check_add($ck_funcs, t('exec'), false, true, t('Error: exec is required but is either not installed or has been disabled in php.ini'));
|
||||
}
|
||||
|
@ -590,7 +584,7 @@ class Setup extends \Zotlabs\Web\Controller {
|
|||
|
||||
if(! is_writable(TEMPLATE_BUILD_PATH) ) {
|
||||
$status = false;
|
||||
$help = t('Red uses the Smarty3 template engine to render its web views. Smarty3 compiles templates to PHP to speed up rendering.') .EOL;
|
||||
$help = t('This software uses the Smarty3 template engine to render its web views. Smarty3 compiles templates to PHP to speed up rendering.') .EOL;
|
||||
$help .= sprintf( t('In order to store these compiled templates, the web server needs to have write access to the directory %s under the top level web folder.'), TEMPLATE_BUILD_PATH) . EOL;
|
||||
$help .= t('Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder.').EOL;
|
||||
$help .= sprintf( t('Note: as a security measure, you should give the web server write access to %s only--not the template files (.tpl) that it contains.'), TEMPLATE_BUILD_PATH) . EOL;
|
||||
|
@ -612,7 +606,7 @@ class Setup extends \Zotlabs\Web\Controller {
|
|||
|
||||
if(! is_writable('store')) {
|
||||
$status = false;
|
||||
$help = t('This software uses the store directory to save uploaded files. The web server needs to have write access to the store directory under the Red top level folder') . EOL;
|
||||
$help = t('This software uses the store directory to save uploaded files. The web server needs to have write access to the store directory under the top level web folder') . EOL;
|
||||
$help .= t('Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder.').EOL;
|
||||
}
|
||||
|
||||
|
@ -727,7 +721,7 @@ class Setup extends \Zotlabs\Web\Controller {
|
|||
// (e.g. NSS used in RedHat) require different syntax, so hopefully
|
||||
// the default curl cipher list will work for most sites. If not,
|
||||
// this can set via config. Many distros are now disabling RC4,
|
||||
// but many Red sites still use it and are unable to change it.
|
||||
// but many existing sites still use it and are unable to change it.
|
||||
// We do not use SSL for encryption, only to protect session cookies.
|
||||
// z_fetch_url() is also used to import shared links and other content
|
||||
// so in theory most any cipher could show up and we should do our best
|
||||
|
|
Loading…
Reference in a new issue