Use PHPMailer for sending mails
Closes: #1 phpcs-errors:226 phpunit-status:successful phpstan-errors:207
This commit is contained in:
@ -9,10 +9,14 @@
|
||||
declare(strict_types = 1);
|
||||
|
||||
// Set autoloader
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', "1");
|
||||
spl_autoload_register("mdCsvxmlAutoloader");
|
||||
set_exception_handler("mdExceptionHandler");
|
||||
set_error_handler("mdErrorHandler", E_ALL);
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
/**
|
||||
* Autoloader for museum-digital.org.
|
||||
*
|
||||
@ -28,6 +32,8 @@ function mdCsvxmlAutoloader(string $className):void {
|
||||
__DIR__ . "/../classes/MDAllowedValueSets/src",
|
||||
__DIR__ . "/../classes/MDExportFormats/src",
|
||||
__DIR__ . "/../classes/MDErrorReporter",
|
||||
__DIR__ . "/../classes/MDMailer/src",
|
||||
__DIR__ . "/../conf",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/generic",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/page",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/updates",
|
||||
|
Reference in New Issue
Block a user