/usr/share/phpmyadmin/libraries/classes/Controllers
NameSizeModeActions
Database/-0755rm
Preferences/-0755rm
Server/-0755rm
Setup/-0755rm
Table/-0755rm
AbstractController.php23990644editdlrm
BrowseForeignersController.php23250644editdlrm
ChangeLogController.php36030644editdlrm
CheckRelationsController.php15120644editdlrm
ColumnController.php9080644editdlrm
ConfigController.php13700644editdlrm
DatabaseController.php2700644editdlrm
ErrorReportController.php60290644editdlrm
ExportController.php240660644editdlrm
ExportTemplateController.php42120644editdlrm
GisDataEditorController.php49060644editdlrm
HomeController.php182490644editdlrm
ImportController.php325370644editdlrm
ImportStatusController.php23130644editdlrm
JavaScriptMessagesController.php374070644editdlrm
LicenseController.php9680644editdlrm
LintController.php17740644editdlrm
LogoutController.php4070644editdlrm
NavigationController.php33350644editdlrm
NormalizationController.php56690644editdlrm
PhpInfoController.php6810644editdlrm
SchemaExportController.php11280644editdlrm
SqlController.php115640644editdlrm
TableController.php8670644editdlrm
ThemesController.php7760644editdlrm
TransformationOverviewController.php17920644editdlrm
TransformationWrapperController.php74800644editdlrm
UserPasswordController.php33510644editdlrm
VersionCheckController.php12410644editdlrm
ViewCreateController.php96220644editdlrm
ViewOperationsController.php33390644editdlrm
Edit: /usr/share/phpmyadmin/libraries/classes/Controllers/ChangeLogController.php (3603B)
response->disable(); $this->response->getHeader()->sendHttpHeaders(); $filename = CHANGELOG_FILE; /** * Read changelog. */ // Check if the file is available, some distributions remove these. if (! @is_readable($filename)) { printf( __( 'The %s file is not available on this system, please visit ' . '%s for more information.' ), $filename, 'phpmyadmin.net' ); return; } // Test if the if is in a compressed format if (substr($filename, -3) === '.gz') { ob_start(); readgzfile($filename); $changelog = ob_get_clean(); } else { $changelog = file_get_contents($filename); } /** * Whole changelog in variable. */ $changelog = htmlspecialchars((string) $changelog); $github_url = 'https://github.com/phpmyadmin/phpmyadmin/'; $faq_url = 'https://docs.phpmyadmin.net/en/latest/faq.html'; $replaces = [ '@(https?://[./a-zA-Z0-9.-_-]*[/a-zA-Z0-9_])@' => '\\1', // mail address '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*@.*)>/i' => '\\1 \\2', // FAQ entries '/FAQ ([0-9]+)\.([0-9a-z]+)/i' => 'FAQ \\1.\\2', // GitHub issues '/issue\s*#?([0-9]{4,5}) /i' => 'issue #\\1 ', // CVE/CAN entries '/((CAN|CVE)-[0-9]+-[0-9]+)/' => '\\1', // PMASAentries '/(PMASA-[0-9]+-[0-9]+)/' => '\\1', // Highlight releases (with links) '/([0-9]+)\.([0-9]+)\.([0-9]+)\.0 (\([0-9-]+\))/' => '' . '' . '\\1.\\2.\\3.0 \\4', '/([0-9]+)\.([0-9]+)\.([0-9]+)\.([1-9][0-9]*) (\([0-9-]+\))/' => '' . '' . '\\1.\\2.\\3.\\4 \\5', // Highlight releases (not linkable) '/( ### )(.*)/' => '\\1\\2', // Links target and rel '/a href="/' => 'a target="_blank" rel="noopener noreferrer" href="', ]; $this->response->header('Content-type: text/html; charset=utf-8'); echo $this->template->render('changelog', [ 'changelog' => preg_replace(array_keys($replaces), $replaces, $changelog), ]); } }