Skip to content
Snippets Groups Projects
Commit f693d439 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14422 from owncloud/use-off-and-off

Use "off" and "off" instead of true booleans
parents 9a08c7ec 43641d91
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
php_value default_charset 'UTF-8'
php_value output_buffering false
php_value output_buffering off
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
......
......@@ -4,4 +4,4 @@ memory_limit=512M
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=false
\ No newline at end of file
output_buffering=off
\ No newline at end of file
......@@ -638,8 +638,11 @@ class OC_Util {
$webServerRestart = true;
}
foreach($invalidIniSettings as $setting) {
if(is_bool($setting[1])) {
$setting[1] = ($setting[1]) ? 'on' : 'off';
}
$errors[] = [
'error' => $l->t('PHP setting "%s" is not set to "%s".', [$setting[0], $setting[1]]),
'error' => $l->t('PHP setting "%s" is not set to "%s".', [$setting[0], var_export($setting[1], true)]),
'hint' => $l->t('Adjusting this setting in php.ini will make ownCloud run again')
];
$webServerRestart = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment