From 7bf063f2fb6d83970f7b72780aeb9ffdf34a9d8a Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 9 Sep 2023 00:55:31 +0300 Subject: [PATCH] add ADMIN_REMOTE_ADDRESS_WHITELIST settings --- src/config/app.php.example | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/config/app.php.example b/src/config/app.php.example index e97e248..ac8acb0 100644 --- a/src/config/app.php.example +++ b/src/config/app.php.example @@ -93,4 +93,12 @@ define('API_PEERS', (object) ); // Crawler -define('CRAWL_STOP_DISK_QUOTA_MB_LEFT', 128); \ No newline at end of file +define('CRAWL_STOP_DISK_QUOTA_MB_LEFT', 128); + +// Administration +define('ADMIN_REMOTE_ADDRESS_WHITELIST', (array) + [ + '127.0.0.1', + // ... + ] +); \ No newline at end of file