Skip to content

Commit

Permalink
Add referer to config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Bleiweis committed Aug 20, 2017
1 parent 11f146a commit aad2b48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wbce/install/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@
. ' // no leading/trailing slash or backslash.' . PHP_EOL
. 'define(\'ADMIN_DIRECTORY\', \'admin\');'
. ' // no leading/trailing slash or backslash. A simple directory name only.' . PHP_EOL
. PHP_EOL
. '$referer = $_SERVER[\'HTTP_REFERER\'];' . PHP_EOL
;
// Check if the file exists and is writable first.
$sMsg = '';
Expand Down

0 comments on commit aad2b48

Please sign in to comment.