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.
This commit is contained in:
parent
f330fcba91
commit
6de4bd6e7e
|
@ -76,6 +76,13 @@ class Module
|
|||
*/
|
||||
private $libdir;
|
||||
|
||||
/**
|
||||
* Config directory
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $configdir;
|
||||
|
||||
/**
|
||||
* Directory containing translations
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue