eventCoreIncludeCommonEnd()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 You may not change or alter any portion of this comment or credits
4
 of supporting developers from this source code or any supporting source code
5
 which is considered copyrighted (c) material of the original comment or credit authors.
6
7
 This program is distributed in the hope that it will be useful,
8
 but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
/**
12
 * @copyright       XOOPS Project (https://xoops.org)
13
 * @license         GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
14
 * @author          XOOPS Project <www.xoops.org> <www.xoops.ir>
15
 */
16
defined('XOOPS_ROOT_PATH') || die('Restricted access');
17
18
/**
19
 * Class XnewsletterCorePreload
20
 */
21
class XnewsletterCorePreload extends \XoopsPreloadItem
22
{
23
    // to add PSR-4 autoloader
24
25
    /**
26
     * @param $args
27
     */
28
    public static function eventCoreIncludeCommonEnd($args)
29
    {
30
        require_once __DIR__ . '/autoloader.php';
31
    }
32
}
33