Files
api/services/nginx/app/modules/backups/config/backups_enabled_c.php
T
Jepp9350 555d4e9918 Add comprehensive backup functionality and refactor email handling
Implemented server, database, and environment backups with configurable modules. Introduced new routes and configuration classes for backups alongside improved zip and S3 storage. Replaced PHPMailer with a cURL-based email service for streamlined message sending.
2025-02-11 17:41:57 +01:00

29 lines
495 B
PHP

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