Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed Jul 27, 2018
1 parent e1a77b1 commit 2d15ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/securityheaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class SecurityHeaders
{
private static function enabled()
{
return option('bnomei.securityheaders.enabled') && !isWebpack() && !isLocalhost();
return option('bnomei.securityheaders.enabled') && !static::isWebpack() && !static::isLocalhost();
}

public static function headers($headers)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-security-headers",
"type": "plugin",
"version": "0.5.2",
"version": "0.5.3",
"license": "MIT",
"description": "Kirby 3 Plugin for easier Security Headers setup",
"autoload": {
Expand Down

0 comments on commit 2d15ddc

Please sign in to comment.