Server IP : 15.235.198.142 / Your IP : 216.73.216.208 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/phpmyadmin/libraries/classes/Config/Forms/Setup/ |
Upload File : |
<?php /** * User preferences form */ declare(strict_types=1); namespace PhpMyAdmin\Config\Forms\Setup; use function array_diff; class FeaturesForm extends \PhpMyAdmin\Config\Forms\User\FeaturesForm { /** * @return array */ public static function getForms() { // phpcs:disable Squiz.Arrays.ArrayDeclaration.KeySpecified,Squiz.Arrays.ArrayDeclaration.NoKeySpecified $result = parent::getForms(); /* Remove only_db/hide_db, we have proper Server form in setup */ $result['Databases'] = array_diff( $result['Databases'], [ 'Servers/1/only_db', 'Servers/1/hide_db', ] ); /* Following are not available to user */ $result['Import_export'] = [ 'UploadDir', 'SaveDir', 'RecodingEngine' => ':group', 'IconvExtraParams', ':group:end', 'ZipDump', 'GZipDump', 'BZipDump', 'CompressOnFly', ]; $result['Security'] = [ 'blowfish_secret', 'CheckConfigurationPermissions', 'TrustedProxies', 'AllowUserDropDatabase', 'AllowArbitraryServer', 'ArbitraryServerRegexp', 'LoginCookieRecall', 'LoginCookieStore', 'LoginCookieDeleteAll', 'CaptchaLoginPublicKey', 'CaptchaLoginPrivateKey', 'CaptchaSiteVerifyURL', ]; $result['Developer'] = [ 'UserprefsDeveloperTab', 'DBG/sql', ]; $result['Other_core_settings'] = [ 'OBGzip', 'PersistentConnections', 'ExecTimeLimit', 'MemoryLimit', 'UseDbSearch', 'ProxyUrl', 'ProxyUser', 'ProxyPass', 'AllowThirdPartyFraming', 'ZeroConf', ]; return $result; // phpcs:enable } }