Files
api/services/nginx/app/modules/backups/backups_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
567 B
PHP

<?php
namespace backups;
require_once WD . '/modules/backups/config/backups_enabled_c.php';
use backups\config\backups_enabled_c;
use traits\module_config_t;
class backups_c
{
use module_config_t;
/**
* The status of Backups, whether it is enabled or not
* @var backups_enabled_c
*/
public backups_enabled_c $enabled;
public function __construct()
{
$this->setupConfig('Backups');
$this->allowUpdate([
backups_enabled_c::class,
]);
$this->enabled = new backups_enabled_c();
}
}