mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 18:37:30 +00:00
28bb614489
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
129 lines
3.9 KiB
PHP
129 lines
3.9 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is part of the Froxlor project.
|
|
* Copyright (c) 2010 the Froxlor Team (see authors).
|
|
*
|
|
* For the full copyright and license information, please view the COPYING
|
|
* file that was distributed with this source code. You can also view the
|
|
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
|
|
*
|
|
* @copyright (c) the authors
|
|
* @author Froxlor team <team@froxlor.org> (2010-)
|
|
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
|
|
* @package Settings
|
|
*
|
|
*/
|
|
return array(
|
|
'groups' => array(
|
|
'fcgid' => array(
|
|
'title' => $lng['admin']['fcgid_settings'],
|
|
'websrv_avail' => array(
|
|
'apache2',
|
|
'lighttpd'
|
|
),
|
|
'fields' => array(
|
|
'system_mod_fcgid_enabled' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid',
|
|
'type' => 'bool',
|
|
'default' => false,
|
|
'save_method' => 'storeSettingField',
|
|
'plausibility_check_method' => array(
|
|
'\\Froxlor\\Validate\\Check',
|
|
'checkFcgidPhpFpm'
|
|
),
|
|
'overview_option' => true
|
|
),
|
|
'system_mod_fcgid_configdir' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['configdir'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_configdir',
|
|
'type' => 'string',
|
|
'string_type' => 'confdir',
|
|
'default' => '/var/www/php-fcgi-scripts/',
|
|
'plausibility_check_method' => array(
|
|
'\\Froxlor\\Validate\\Check',
|
|
'checkPathConflicts'
|
|
),
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_tmpdir' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['tmpdir'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_tmpdir',
|
|
'type' => 'string',
|
|
'string_type' => 'dir',
|
|
'default' => '/var/customers/tmp/',
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_peardir' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['peardir'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_peardir',
|
|
'type' => 'string',
|
|
'string_type' => 'dir',
|
|
'string_delimiter' => ':',
|
|
'string_emptyallowed' => true,
|
|
'default' => '/usr/share/php/:/usr/share/php5/',
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_wrapper' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['wrapper'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_wrapper',
|
|
'type' => 'option',
|
|
'option_options' => array(
|
|
0 => 'ScriptAlias',
|
|
1 => 'FcgidWrapper'
|
|
),
|
|
'default' => 1,
|
|
'save_method' => 'storeSettingField',
|
|
'websrv_avail' => array(
|
|
'apache2'
|
|
)
|
|
),
|
|
'system_mod_fcgid_starter' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['starter'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_starter',
|
|
'type' => 'int',
|
|
'default' => 0,
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_maxrequests' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['maxrequests'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_maxrequests',
|
|
'type' => 'int',
|
|
'default' => 250,
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_defaultini' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['defaultini'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_defaultini',
|
|
'type' => 'option',
|
|
'default' => '1',
|
|
'option_mode' => 'one',
|
|
'option_options_method' => array(
|
|
'\\Froxlor\\Http\\PhpConfig',
|
|
'getPhpConfigs'),
|
|
'save_method' => 'storeSettingField'
|
|
),
|
|
'system_mod_fcgid_idle_timeout' => array(
|
|
'label' => $lng['serversettings']['mod_fcgid']['idle_timeout'],
|
|
'settinggroup' => 'system',
|
|
'varname' => 'mod_fcgid_idle_timeout',
|
|
'type' => 'int',
|
|
'default' => 30,
|
|
'save_method' => 'storeSettingField'
|
|
)
|
|
)
|
|
)
|
|
)
|
|
);
|
|
|
|
?>
|