From 6de4bd6e7e0be8e1bb065396aacbd7b88388ef6b Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 21 Sep 2022 11:29:58 +0200 Subject: [PATCH] Explicitly add Module#configdir as (non-dynamic) property W/o this the login page, if on PHP 8.2, says: Deprecated: Creation of dynamic property Icinga\Application\Modules\Module::$configdir is deprecated in /usr/share/icingaweb2/library/Icinga/Application/Modules/Module.php on line 264 This breaks modules (if any) which use the property and not the getter. --- library/Icinga/Application/Modules/Module.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/Icinga/Application/Modules/Module.php b/library/Icinga/Application/Modules/Module.php index 00a33838e..cdc23464c 100644 --- a/library/Icinga/Application/Modules/Module.php +++ b/library/Icinga/Application/Modules/Module.php @@ -76,6 +76,13 @@ class Module */ private $libdir; + /** + * Config directory + * + * @var string + */ + private $configdir; + /** * Directory containing translations *