11 Zeilen
379 B
PHP
11 Zeilen
379 B
PHP
<?php
|
|
defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
|
|
|
|
global $cfg;
|
|
|
|
$pluginName = basename(dirname(__DIR__, 1));
|
|
|
|
$cfg['plugins'][$pluginName] = cRegistry::getBackendPath() . $cfg['path']['plugins'] . "$pluginName/";
|
|
|
|
plugin_include($pluginName, 'vendor/autoload.php');
|
|
plugin_include($pluginName, 'classes/PHPMailer.php');
|