Skip to content

Commit

Permalink
fix module enabling
Browse files Browse the repository at this point in the history
felixhahnweilheim committed Nov 24, 2023
1 parent 082e9c6 commit 20a817a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Module.php
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
namespace humhub\modules\flexTheme;

use humhub\modules\flexTheme\models\ColorSettings;
use humhub\modules\flexTheme\helpers\FileHelper;
use humhub\modules\ui\view\helpers\ThemeHelper;
use humhub\libs\DynamicConfig;
use Yii;
@@ -44,6 +45,9 @@ private function enableTheme() {
// Save special colors (lightened, darkened, faded colors)
$model = new ColorSettings();
$model->saveSpecialColors();

// Create theme.css
FileHelper::updateThemeFile();
}

// Module Deactivation

0 comments on commit 20a817a

Please sign in to comment.