Skip to content

Commit c7ab115

Browse files
author
florian030
committed
Add option to "name" default php-version for websites per server (#5089)
1 parent b1cfd5b commit c7ab115

31 files changed

+79
-8
lines changed

install/tpl/server.ini.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ php_fpm_ini_path=/etc/php5/fpm/php.ini
102102
php_fpm_pool_dir=/etc/php5/fpm/pool.d
103103
php_fpm_start_port=9010
104104
php_fpm_socket_dir=/var/lib/php5-fpm
105+
php_default_name=Default
105106
set_folder_permissions_on_update=n
106107
add_web_users_to_sshusers_group=y
107108
connect_userid_to_webid=n

interface/web/admin/form/server_config.tform.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,16 @@
10941094
'width' => '40',
10951095
'maxlength' => '255'
10961096
),
1097+
'php_default_name' => array(
1098+
'datatype' => 'VARCHAR',
1099+
'formtype' => 'TEXT',
1100+
'default' => 'Default',
1101+
'validators' => array( 0 => array('type' => 'NOTEMPTY',
1102+
'errmsg' => 'php_default_name_error_empty'),
1103+
),
1104+
'width' => '40',
1105+
'maxlength' => '255'
1106+
),
10971107
'php_fpm_init_script' => array(
10981108
'datatype' => 'VARCHAR',
10991109
'formtype' => 'TEXT',

interface/web/admin/lib/lang/ar_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

interface/web/admin/lib/lang/bg_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

interface/web/admin/lib/lang/br_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,5 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
294295
?>

interface/web/admin/lib/lang/ca_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

interface/web/admin/lib/lang/cz_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

interface/web/admin/lib/lang/de_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Beschreibung Standard PHP';
295+
$wb['php_default_name_error_empty'] = 'Beschreibung Standard PHP ist leer.';
294296
?>

interface/web/admin/lib/lang/dk_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

interface/web/admin/lib/lang/el_server_config.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,6 @@ $wb['logging_txt'] = 'Store website access and error logs';
291291
$wb['logging_desc_txt'] = 'Use Tools > Resync to apply changes to existing sites. For Apache, access and error log can be anonymized. For nginx, only the access log is anonymized, the error log will contain IP addresses.';
292292
$wb['log_retention_txt'] = 'Log retention (days)';
293293
$wb['log_retention_error_ispositive'] = 'Log retention must be a number > 0';
294+
$wb['php_default_name_txt'] = 'Description Default PHP-Version';
295+
$wb['php_default_name_error_empty'] = 'Description Default PHP-Version must not be empty';
294296
?>

0 commit comments

Comments
 (0)