new CSS and JS build system

This commit is contained in:
Mark Gregory
2026-06-12 09:19:36 +01:00
parent 6fea1f3052
commit 67c9bb22d9
42 changed files with 541 additions and 3 deletions
View File
+12
View File
@@ -0,0 +1,12 @@
<?php
use Modules\Helpdesk\Support\ModuleInfo;
if (! function_exists('helpdesk_feature_enabled')) {
/**
* Check if a feature is enabled in the config.
*/
function helpdesk_feature_enabled(string $key): bool
{
return (bool) config(ModuleInfo::nameLower().".features.{$key}", false);
}
}