Skip to content

Commit

Permalink
Merge pull request #372 from symfony-cmf/analysis-qvklRV
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
ElectricMaxxx authored Jun 28, 2017
2 parents 87fc4a7 + 1eb7dae commit d0e44d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
exit('This script cannot be run from the CLI. Run it from a browser.');
}

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
if (!in_array(@$_SERVER['REMOTE_ADDR'], [
'127.0.0.1',
'::1',
))) {
])) {
header('HTTP/1.0 403 Forbidden');
exit('This script is only accessible from localhost.');
}
Expand Down

0 comments on commit d0e44d6

Please sign in to comment.