mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
New plugins: version-noverify, frames
This commit is contained in:
14
plugins/frames.php
Normal file
14
plugins/frames.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/** Allow using Adminer inside a frame
|
||||
* @author Jakub Vrana, http://www.vrana.cz/
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
|
||||
*/
|
||||
class AdminerFrames {
|
||||
|
||||
function headers() {
|
||||
header("X-XSS-Protection: 0");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user