Skip to content

Commit a6df2bb

Browse files
author
florian030
committed
add option to set additional php-versions active/inactive
1 parent 652ec7d commit a6df2bb

31 files changed

+52
-16
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
ALTER TABLE `web_domain` ADD COLUMN `ssl_letsencrypt_exclude` enum('n','y') NOT NULL DEFAULT 'n' AFTER `ssl_letsencrypt`;
22
ALTER TABLE `remote_user` ADD `remote_access` ENUM('y','n') NOT NULL DEFAULT 'y' AFTER `remote_password`;
33
ALTER TABLE `remote_user` ADD `remote_ips` TEXT AFTER `remote_access`;
4+
ALTER TABLE `server_php` ADD `active` enum('y','n') NOT NULL DEFAULT 'y' AFTER `php_fpm_pool_dir`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@ CREATE TABLE `server_php` (
13461346
`php_fpm_init_script` varchar(255) DEFAULT NULL,
13471347
`php_fpm_ini_dir` varchar(255) DEFAULT NULL,
13481348
`php_fpm_pool_dir` varchar(255) DEFAULT NULL,
1349+
`active` enum('n','y') NOT NULL DEFAULT 'y',
13491350
PRIMARY KEY (`server_php_id`)
13501351
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
13511352

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@
124124
'width' => '40',
125125
'maxlength' => '255'
126126
),
127+
'active' => array (
128+
'datatype' => 'VARCHAR',
129+
'formtype' => 'CHECKBOX',
130+
'default' => 'y',
131+
'value' => array(0 => 'n', 1 => 'y')
132+
),
133+
127134
//#################################
128135
// ENDE Datenbankfelder
129136
//#################################

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Path to the php.ini directory';
1313
$wb['php_fpm_init_script_txt'] = 'Path to the PHP-FPM init script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Path to the php.ini directory';
1515
$wb['php_fpm_pool_dir_txt'] = 'Path to the PHP-FPM pool directory';
16+
$wb['active_txt'] = 'Active';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Path to the php.ini directory';
1313
$wb['php_fpm_init_script_txt'] = 'Path to the PHP-FPM init script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Path to the php.ini directory';
1515
$wb['php_fpm_pool_dir_txt'] = 'Path to the PHP-FPM pool directory';
16+
$wb['active_txt'] = 'Active';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Caminho do diretório do php.ini';
1313
$wb['php_fpm_init_script_txt'] = 'Caminho do script de inicialização do PHP-FPM';
1414
$wb['php_fpm_ini_dir_txt'] = 'Caminho do diretório do php.ini';
1515
$wb['php_fpm_pool_dir_txt'] = 'Caminho do diretório de faixas (pool) do PHP-FPM';
16+
$wb['active_txt'] = 'Active';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Path to the php.ini directory';
1313
$wb['php_fpm_init_script_txt'] = 'Path to the PHP-FPM init script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Path to the php.ini directory';
1515
$wb['php_fpm_pool_dir_txt'] = 'Path to the PHP-FPM pool directory';
16+
$wb['active_txt'] = 'Active';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Cesta k php.ini adresáři';
1313
$wb['php_fpm_init_script_txt'] = 'Cesta k PHP-FPM init script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Cesta k php.ini adresáři';
1515
$wb['php_fpm_pool_dir_txt'] = 'Cesta k PHP-FPM pool adresáři';
16+
$wb['active_txt'] = 'Active';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Pfad zum php.ini Verzeichnis';
1313
$wb['php_fpm_init_script_txt'] = 'Pfad zum PHP-FPM Init Script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Pfad zum php.ini Verzeichnis';
1515
$wb['php_fpm_pool_dir_txt'] = 'Pfad zum PHP-FPM Pool Verzeichnis';
16+
$wb['active_txt'] = 'Aktiv';
1617
?>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ $wb['php_fastcgi_ini_dir_txt'] = 'Sti til php.ini mappe';
1313
$wb['php_fpm_init_script_txt'] = 'Sti til PHP-FPM init script';
1414
$wb['php_fpm_ini_dir_txt'] = 'Sti til php.ini mappe';
1515
$wb['php_fpm_pool_dir_txt'] = 'Sti til PHP-FPM pool mappe';
16+
$wb['active_txt'] = 'Active';
1617
?>

0 commit comments

Comments
 (0)