| 1234567891011121314151617181920212223242526272829 |
- <?php
- /* vim: set expandtab sw=4 ts=4 sts=4: */
- /**
- * User preferences form
- *
- * @package PhpMyAdmin
- */
- declare(strict_types=1);
- namespace PhpMyAdmin\Config\Forms\Setup;
- /**
- * Class MainForm
- * @package PhpMyAdmin\Config\Forms\Setup
- */
- class MainForm extends \PhpMyAdmin\Config\Forms\User\MainForm
- {
- /**
- * @return array
- */
- public static function getForms()
- {
- $result = parent::getForms();
- /* Following are not available to user */
- $result['Startup'][] = 'ShowPhpInfo';
- $result['Startup'][] = 'ShowChgPassword';
- return $result;
- }
- }
|