/var/www/html_de/wp-content/plugins/fluent-smtp/boot.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

!defined('WPINC') && die;

define('FLUENTMAIL''fluentmail');
define('FLUENTMAIL_PLUGIN_VERSION''2.2.92');
define('FLUENTMAIL_UPLOAD_DIR''/fluentmail');
define('FLUENT_MAIL_DB_PREFIX''fsmpt_');
define('FLUENTMAIL_PLUGIN_URL'plugin_dir_url(__FILE__));
define('FLUENTMAIL_PLUGIN_PATH'plugin_dir_path__FILE__ ));

spl_autoload_register(function($class) {
    
$match 'FluentMail';

    if (!
preg_match("/\b{$match}\b/"$class)) {
        return;
    }

    
$path plugin_dir_path(__FILE__);
    
    
$file str_replace(
        [
'FluentMail''\\''/App/''/Includes/'],
        [
''DIRECTORY_SEPARATOR'app/''includes/'],
        
$class
    
);

    require(
trailingslashit($path) . trim($file'/') . '.php');
});