Files
api/services/nginx/app/modules/xlvask/config/xlvask_enabled_c.php
T
Jepp9350 5550e2e57f Add xlvask module with configuration and API endpoints
Introduce the xlvask module, including classes for configuration variables (enabled, username, password) and main functionality. Integrated xlvask into the app by adding GET/POST API routes for managing its configuration.
2025-05-08 12:17:27 +02:00

29 lines
492 B
PHP

<?php
namespace xlvask\config;
use Exception;
use traits\module_config_variable;
class xlvask_enabled_c
{
use module_config_variable;
/**
* @throws Exception
*/
public function __construct()
{
self::setupConfigVariable(
'xlvask',
'enabled',
'bool',
true,
null,
'Whether the xlvask module is enabled or not',
'1',
false,
'false'
);
}
}