theme infos are now bundled in a single array

This commit is contained in:
Michael 2021-07-25 19:07:03 +00:00
parent 0551648399
commit c52b8595e8
9 changed files with 22 additions and 21 deletions

View file

@ -57,13 +57,14 @@ use Psr\Log\LoggerInterface;
class App
{
public $user;
public $theme_info = [];
// Allow themes to control internal parameters
// by changing App values in theme.php
public $videowidth = 425;
public $videoheight = 350;
public $theme_events_in_profile = true;
public $theme_info = [
'videowidth' => 425,
'videoheight' => 350,
'events_in_profile' => true
];
private $timezone = '';
private $profile_owner = 0;