HEX
Server: LiteSpeed
System: Linux d8 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: wbwebdes (3015)
PHP: 8.1.31
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/wbwebdes/domains/mailing.wb-cloud.nl/public_html/admin/class.phplistmailerbase.php
<?php

if (USE_PHPMAILER6) {
    spl_autoload_register(
        function ($classname)
        {
            $prefix = 'PHPMailer\PHPMailer\\';
            $prefixLength = strlen($prefix);

            if (substr($classname, 0, $prefixLength) == $prefix) {
                $phpmailerPath = defined('PHPMAILER_PATH') && is_dir(PHPMAILER_PATH)
                    ? rtrim(PHPMAILER_PATH, '/') . '/'
                    : 'PHPMailer6/src/';
                $filename = $phpmailerPath . substr($classname, $prefixLength) . '.php';
                require $filename;
            }
        }
    );

    /**
     * Intermediate class to use PHPMailer 6.
     */
    abstract class phplistMailerBase extends PHPMailer\PHPMailer\PHPMailer
    {
        // Additional properties
        public $lineEnding;

        public function __construct($exceptions)
        {
            parent::__construct($exceptions);
            parent::SetLanguage('en', __DIR__.'/PHPMailer6/language/');
            $this->lineEnding = static::$LE;
        }
    }
} else {
    if (defined('PHPMAILER_PATH') && is_file(PHPMAILER_PATH)) {
        require_once PHPMAILER_PATH;
    } else {
        require_once __DIR__.'/PHPMailer/PHPMailerAutoload.php';
    }

    /**
     * Intermediate class to use PHPMailer 5.
     */
    abstract class phplistMailerBase extends PHPMailer
    {
        // Inherited properties
        public $LE = "\n";

        // Additional properties
        public $lineEnding;

        public function __construct($exceptions)
        {
            parent::__construct($exceptions);
            parent::SetLanguage('en', __DIR__.'/PHPMailer/language/');
            $this->lineEnding = $this->LE;
        }
    }
}