]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - web/app_dev.php
Jump to 2.3.6-dev and update release process
[github/wallabag/wallabag.git] / web / app_dev.php
index 635bf7ac7be9773dc48c0b5a02b1c586fc2c35a6..8456754d561d4178778d0998ad35a466f676ed1b 100644 (file)
@@ -12,7 +12,7 @@ use Symfony\Component\Debug\Debug;
 // Feel free to remove this, extend it, or make something more sophisticated.
 if (isset($_SERVER['HTTP_CLIENT_IP'])
     || isset($_SERVER['HTTP_X_FORWARDED_FOR'])
-    || !(in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', 'fe80::1', '::1')) || php_sapi_name() === 'cli-server')
+    || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1']) || php_sapi_name() === 'cli-server')
 ) {
     header('HTTP/1.0 403 Forbidden');
     exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');