1
0
Fork 0

Only include PHPMailer when needed

master
Anonymous Contributor 2023-08-23 18:16:35 +02:00
parent 59c9e53f1e
commit c9cad23e2c
3 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,6 @@
<?php <?php
include_once('../lib/phpmailer/PHPMailer.php');
include_once('../lib/phpmailer/SMTP.php');
$statement = $RUNTIME['PDO']->prepare("CREATE TABLE IF NOT EXISTS im_offline_send (`id` int(6) NOT NULL DEFAULT 0) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci"); $statement = $RUNTIME['PDO']->prepare("CREATE TABLE IF NOT EXISTS im_offline_send (`id` int(6) NOT NULL DEFAULT 0) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci");
$statement->execute(); $statement->execute();

View File

@ -3,9 +3,6 @@ date_default_timezone_set("Europe/Berlin");
error_reporting(E_ALL); error_reporting(E_ALL);
session_start(); session_start();
include_once 'classen/MAIL/PHPMailer.php';
include_once 'classen/MAIL/SMTP.php';
include_once("classen/utils.php"); include_once("classen/utils.php");
include_once("classen/HTML.php"); include_once("classen/HTML.php");
include_once("classen/OpenSim.php"); include_once("classen/OpenSim.php");

View File

@ -17,9 +17,6 @@ if(!isset($_SESSION['csrf']) || strlen($_SESSION['csrf']) != 64) {
$_SESSION['csrf'] = bin2hex(random_bytes(32)); $_SESSION['csrf'] = bin2hex(random_bytes(32));
} }
include_once 'classen/MAIL/PHPMailer.php';
include_once 'classen/MAIL/SMTP.php';
include_once("classen/utils.php"); include_once("classen/utils.php");
include_once("classen/HTML.php"); include_once("classen/HTML.php");
include_once("classen/OpenSim.php"); include_once("classen/OpenSim.php");