From 9be1ecdd5ac61c28f9229f9103daee0bf3907ae0 Mon Sep 17 00:00:00 2001 From: Bas Strooband Date: Wed, 31 Jul 2019 11:39:44 +0200 Subject: [PATCH] Update changelog.md --- CHANGELOG.md | 4 ++-- web/app_dev.php | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c578647..17b2f5d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ ## Next release -## 2.1.12 +## 2.1.13 * Update symfony/symfony and symfony/phpunit-bridge #79 -## 2.1.10 .. 2.1.11 +## 2.1.10 .. 2.1.12 This release adds some JavaScript browser support for older IE browsers. This should result in the ability to perform tiqr registrations and authentications in IE >= 8. - Add ECMAScript 3 support #75 diff --git a/web/app_dev.php b/web/app_dev.php index 8425674e..70a7122f 100644 --- a/web/app_dev.php +++ b/web/app_dev.php @@ -8,15 +8,6 @@ // for more information //umask(0000); -// This check prevents access to debug front controllers that are deployed by accident to production servers. -// 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'], ['127.0.0.1', '::1', '192.168.18.1'], true) || PHP_SAPI === 'cli-server') -) { - header('HTTP/1.0 403 Forbidden'); - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); -} require __DIR__.'/../vendor/autoload.php'; Debug::enable();