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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user