30 lines
519 B
PHP
30 lines
519 B
PHP
<?php
|
|
|
|
namespace modules\edgegateway\config;
|
|
|
|
use Exception;
|
|
use traits\module_config_variable;
|
|
|
|
class edgegateway_enabled_c
|
|
{
|
|
use module_config_variable;
|
|
|
|
/**
|
|
* @throws Exception
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->setupConfigVariable(
|
|
'edgegateway',
|
|
'enabled',
|
|
'bool',
|
|
true,
|
|
null,
|
|
'Whether the edge gateway module is enabled.',
|
|
'true',
|
|
false,
|
|
'true'
|
|
);
|
|
}
|
|
}
|