1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-29 17:19:52 +02:00

No-verify plugin breaks others

Does not need to block other plugins from using the head() method.
This commit is contained in:
Roy Orbitson
2023-08-09 11:21:06 +09:30
committed by Peter Knut
parent de7dd4b64f
commit a693e75e32
2 changed files with 3 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ Adminer 4.9.0-dev:
- Add new Elasticsearch 7 driver.
- Set saving to file as a default export option.
- Improve URL and email detection.
- Fix AdminerVersionNoverify plugin blocking other plugins to modify HTML head.
- Update composer.json.
Adminer 4.8.2 (released 2024-03-16):

View File

@@ -7,10 +7,9 @@
* @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 () {};");
return true;
}
}