Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nightsh/kcfinder
Browse files Browse the repository at this point in the history
  • Loading branch information
nightsh committed Feb 12, 2014
2 parents 5c7b40a + 813bfb0 commit 7ff34fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.local.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$origin = parse_url($_SERVER['HTTP_REFERER']);

if($origin['host'] != 'theblacksea.eu') {
if($origin['host'] != $_SERVER['SERVER_NAME']) {
die('Warning, access forbidden!');
}

Expand Down

0 comments on commit 7ff34fa

Please sign in to comment.