diff -r d2db9f3628ab -r d543689ed2eb plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sat May 15 03:05:43 2010 -0400 +++ b/plugins/SpecialAdmin.php Sun May 16 21:35:43 2010 -0400 @@ -273,6 +273,15 @@ setConfig('userpage_grant_acl', ( isset($_POST['userpage_grant_acl']) ? '1' : '0' )); setConfig('gzip_output', ( isset($_POST['gzip_output']) ? '1' : '0' )); + if ( isset($_POST['trust_xff']) ) + { + setConfig('trust_xff', $_POST['trust_xff_type']); + } + else + { + setConfig('trust_xff', 'none'); + } + // Allow plugins to save their changes $code = $plugins->setHook('acp_general_save'); foreach ( $code as $cmd ) @@ -572,7 +581,9 @@ - + + + get('acpgc_heading_server_settings'); ?> @@ -607,6 +618,37 @@ + + + + + get('acpgc_field_xff'); ?>
+ get('acpgc_field_xff_hint'); ?> + + + +
;"> + +
+ +
+ +
+ + + setHook('acp_general_basic');