Skip to content

Commit

Permalink
Explicitly add Module#configdir as (non-dynamic) property
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Al2Klimov committed Sep 21, 2022
1 parent 62d7ca8 commit 157ca19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/Icinga/Application/Modules/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ class Module
*/
private $libdir;

/**
* Config directory
*
* @var string
*/
private $configdir;

/**
* Directory containing translations
*
Expand Down

0 comments on commit 157ca19

Please sign in to comment.