Submit
Path:
~
/
/
opt
/
psa
/
phpMyAdmin
/
libraries
/
classes
/
Controllers
/
Setup
/
File Content:
ConfigController.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Controllers\Setup; use PhpMyAdmin\Setup\ConfigGenerator; use function is_string; class ConfigController extends AbstractController { /** * @param array $params Request parameters * * @return string HTML */ public function __invoke(array $params): string { $formset = isset($params['formset']) && is_string($params['formset']) ? $params['formset'] : ''; $eol = isset($params['eol']) && $params['eol'] === 'win' ? 'win' : 'unix'; $pages = $this->getPages(); static $hasCheckPageRefresh = false; if (! $hasCheckPageRefresh) { $hasCheckPageRefresh = true; } $config = ConfigGenerator::getConfigFile($this->config); return $this->template->render('setup/config/index', [ 'formset' => $formset, 'pages' => $pages, 'eol' => $eol, 'config' => $config, 'has_check_page_refresh' => $hasCheckPageRefresh, ]); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
AbstractController.php
1143 bytes
0644
ConfigController.php
1043 bytes
0644
FormController.php
1211 bytes
0644
HomeController.php
3544 bytes
0644
ServersController.php
1991 bytes
0644
N4ST4R_ID | Naxtarrr