diff --git a/CHANGES.md b/CHANGES.md index d7902bbd8c..0ae4acdc6a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,7 +13,8 @@ - New UI micro-interactions and styles fixes (@AnatoleLucet) - UI performance & accessibility improvments - Updated ClamAV conntainer to version 1.0.9 -- All emails are now sent asynchronously for improved performance (@TorstenDittmann) +- All emails are now sent asynchronously for improved performance (@) +- New Doctor CLI to debug the Appwrite server ([#415](https://github.com/appwrite/appwrite/issues/415)) ## Bug Fixes diff --git a/app/tasks/init.php b/app/tasks/init.php index d0b8840ca0..b5247d3f35 100644 --- a/app/tasks/init.php +++ b/app/tasks/init.php @@ -89,6 +89,17 @@ $cli //throw $th; } + try { + if($request->getServer('_APP_OPTIONS_ABUSE', 'disabled') === 'disabled') { + Console::log('🔴 Abuse protection is enabled'); + } + else { + Console::log('🟢 Abuse protection is enabled'); + } + } catch (\Throwable $th) { + //throw $th; + } + sleep(1); try {