Skip to content

Commit

Permalink
Fix Theme check after #16967
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jun 15, 2021
1 parent 66d0fec commit ddc5338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/ThemeManager.php
Expand Up @@ -228,7 +228,7 @@ public function setThemeCookie(): bool
public function loadThemes(): void
{
$this->themes = [];
$dirHandle = opendir(ROOT_PATH . 'themes/');
$dirHandle = opendir($this->themesPath);

if ($dirHandle === false) {
trigger_error('Error: cannot open themes folder: ./themes', E_USER_WARNING);
Expand Down

0 comments on commit ddc5338

Please sign in to comment.