new deployer command

This commit is contained in:
Mark Gregory
2026-09-16 11:01:02 +01:00
parent 0756b1de79
commit 45a370ed91
20 changed files with 193 additions and 161 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
use Modules\OTM\Support\ModuleInfo;
if (! function_exists('otm_feature_enabled')) {
@@ -7,6 +8,6 @@ if (! function_exists('otm_feature_enabled')) {
*/
function otm_feature_enabled(string $key): bool
{
return (bool) config(ModuleInfo::nameLower().".features.{$key}", false);
return (bool) config(ModuleInfo::nameLower() . ".features.{$key}", false);
}
}