Only include PHPMailer when needed
parent
59c9e53f1e
commit
c9cad23e2c
|
@ -1,4 +1,6 @@
|
|||
<?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->execute();
|
||||
|
|
|
@ -3,9 +3,6 @@ date_default_timezone_set("Europe/Berlin");
|
|||
error_reporting(E_ALL);
|
||||
session_start();
|
||||
|
||||
include_once 'classen/MAIL/PHPMailer.php';
|
||||
include_once 'classen/MAIL/SMTP.php';
|
||||
|
||||
include_once("classen/utils.php");
|
||||
include_once("classen/HTML.php");
|
||||
include_once("classen/OpenSim.php");
|
||||
|
|
|
@ -17,9 +17,6 @@ if(!isset($_SESSION['csrf']) || strlen($_SESSION['csrf']) != 64) {
|
|||
$_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/HTML.php");
|
||||
include_once("classen/OpenSim.php");
|
||||
|
|
Loading…
Reference in New Issue