settings are not available when reading them from the database, let admin set the php-reload command and the php-backend for nginx even if php-fpm is disabled. Added a note to the description, fixes #1075
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -133,7 +133,7 @@ return array(
|
|||||||
'label' => $lng['serversettings']['phpreload_command'],
|
'label' => $lng['serversettings']['phpreload_command'],
|
||||||
'settinggroup' => 'system',
|
'settinggroup' => 'system',
|
||||||
'varname' => 'phpreload_command',
|
'varname' => 'phpreload_command',
|
||||||
'type' => (getSetting('phpfpm', 'enabled') == '1') ? 'hidden' : 'string',
|
'type' => 'string',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'save_method' => 'storeSettingField',
|
'save_method' => 'storeSettingField',
|
||||||
'websrv_avail' => array('nginx')
|
'websrv_avail' => array('nginx')
|
||||||
@@ -142,7 +142,7 @@ return array(
|
|||||||
'label' => $lng['serversettings']['nginx_php_backend'],
|
'label' => $lng['serversettings']['nginx_php_backend'],
|
||||||
'settinggroup' => 'system',
|
'settinggroup' => 'system',
|
||||||
'varname' => 'nginx_php_backend',
|
'varname' => 'nginx_php_backend',
|
||||||
'type' => (getSetting('phpfpm', 'enabled') == '1') ? 'hidden' : 'string',
|
'type' => 'string',
|
||||||
'default' => '127.0.0.1:8888',
|
'default' => '127.0.0.1:8888',
|
||||||
'save_method' => 'storeSettingField',
|
'save_method' => 'storeSettingField',
|
||||||
'websrv_avail' => array('nginx')
|
'websrv_avail' => array('nginx')
|
||||||
|
|||||||
@@ -1516,9 +1516,9 @@ $lng['question']['customer_reallyunlock'] = 'Do you really want to unlock custom
|
|||||||
$lng['serversettings']['perl_server']['title'] = 'Perl server location';
|
$lng['serversettings']['perl_server']['title'] = 'Perl server location';
|
||||||
$lng['serversettings']['perl_server']['description'] = 'Default is set for using the guide found at: <a target="blank" href="http://wiki.nginx.org/SimpleCGI">http://wiki.nginx.org/SimpleCGI</a>';
|
$lng['serversettings']['perl_server']['description'] = 'Default is set for using the guide found at: <a target="blank" href="http://wiki.nginx.org/SimpleCGI">http://wiki.nginx.org/SimpleCGI</a>';
|
||||||
$lng['serversettings']['nginx_php_backend']['title'] = 'Nginx PHP backend';
|
$lng['serversettings']['nginx_php_backend']['title'] = 'Nginx PHP backend';
|
||||||
$lng['serversettings']['nginx_php_backend']['description'] = 'this is where the PHP process is listening for requests from nginx, can be a unix socket of ip:port combination';
|
$lng['serversettings']['nginx_php_backend']['description'] = 'this is where the PHP process is listening for requests from nginx, can be a unix socket of ip:port combination<br />*only used with php-fpm';
|
||||||
$lng['serversettings']['phpreload_command']['title'] = 'PHP reload command';
|
$lng['serversettings']['phpreload_command']['title'] = 'PHP reload command';
|
||||||
$lng['serversettings']['phpreload_command']['description'] = 'this is used to reload the PHP backend if any is used<br />Default: blank';
|
$lng['serversettings']['phpreload_command']['description'] = 'this is used to reload the PHP backend if any is used<br />Default: blank<br />*only used with php-fpm';
|
||||||
|
|
||||||
// ADDED IN FROXLOR 0.9.16
|
// ADDED IN FROXLOR 0.9.16
|
||||||
$lng['error']['intvaluetoolow'] = 'The given number is too low (field %s)';
|
$lng['error']['intvaluetoolow'] = 'The given number is too low (field %s)';
|
||||||
|
|||||||
@@ -1498,9 +1498,9 @@ $lng['question']['customer_reallyunlock'] = 'Wollen Sie den Kunden %s wirklich e
|
|||||||
$lng['serversettings']['perl_server']['title'] = 'Perl Server Ort';
|
$lng['serversettings']['perl_server']['title'] = 'Perl Server Ort';
|
||||||
$lng['serversettings']['perl_server']['description'] = 'Der Standardwert ist diesem Guide entnommen: <a target="blank" href="http://wiki.nginx.org/SimpleCGI">http://wiki.nginx.org/SimpleCGI</a>';
|
$lng['serversettings']['perl_server']['description'] = 'Der Standardwert ist diesem Guide entnommen: <a target="blank" href="http://wiki.nginx.org/SimpleCGI">http://wiki.nginx.org/SimpleCGI</a>';
|
||||||
$lng['serversettings']['nginx_php_backend']['title'] = 'Nginx PHP Backend';
|
$lng['serversettings']['nginx_php_backend']['title'] = 'Nginx PHP Backend';
|
||||||
$lng['serversettings']['nginx_php_backend']['description'] = 'Dies ist das Backend, auf dem PHP auf Anfragen von Nginx hört. Kann ein UNIX Socket oder eine IP:Port Kombination sein';
|
$lng['serversettings']['nginx_php_backend']['description'] = 'Dies ist das Backend, auf dem PHP auf Anfragen von Nginx hört. Kann ein UNIX Socket oder eine IP:Port Kombination sein<br />*nur relevant bei php-fpm';
|
||||||
$lng['serversettings']['phpreload_command']['title'] = 'PHP Reload Befehl';
|
$lng['serversettings']['phpreload_command']['title'] = 'PHP Reload Befehl';
|
||||||
$lng['serversettings']['phpreload_command']['description'] = 'Dieser wird benötigt, um das PHP Backend bei Bedarf durch den Cronjob neu zu laden. (Standard: leer)';
|
$lng['serversettings']['phpreload_command']['description'] = 'Dieser wird benötigt, um das PHP Backend bei Bedarf durch den Cronjob neu zu laden. (Standard: leer)<br />*nur relevant bei php-fpm';
|
||||||
|
|
||||||
// ADDED IN FROXLOR 0.9.16
|
// ADDED IN FROXLOR 0.9.16
|
||||||
$lng['error']['intvaluetoolow'] = 'Die angegebene Zahl ist zu klein (Feld %s)';
|
$lng['error']['intvaluetoolow'] = 'Die angegebene Zahl ist zu klein (Feld %s)';
|
||||||
|
|||||||
Reference in New Issue
Block a user