adminerevo/plugins/version-noverify.php
Roy Orbitson 2d30330f98
No-verify plugin breaks others
Does not need to block other plugins from using the head() method.
2023-08-09 11:21:06 +09:30

15 lines
424 B
PHP

<?php
/** Disable version checker
* @link https://www.adminer.org/plugins/#use
* @author Jakub Vrana, https://www.vrana.cz/
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerVersionNoverify {
function head() {
echo script("verifyVersion = function () {};");
}
}