1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 09:04:02 +02:00

Trim trailing whitespace

This commit is contained in:
Jakub Vrana
2025-02-21 13:53:18 +01:00
parent 7900062d4d
commit 6fe9827eea
59 changed files with 757 additions and 756 deletions

View File

@@ -9,14 +9,14 @@
class AdminerFrames {
/** @access protected */
var $sameOrigin;
/**
* @param bool allow running from the same origin only
*/
function __construct($sameOrigin = false) {
$this->sameOrigin = $sameOrigin;
}
function headers() {
if ($this->sameOrigin) {
header("X-Frame-Options: SameOrigin");
@@ -24,5 +24,5 @@ class AdminerFrames {
header_remove("X-Frame-Options");
}
}
}