Completed
Push — master ( a4e09c...825da9 )
by Michael
01:51
created

InstructionCorePreload   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A eventCoreIncludeCommonEnd() 0 4 1
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
 *
13
 * @copyright       XOOPS Project (https://xoops.org)
14
 * @license         GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
15
 * @author          XOOPS Project <www.xoops.org> <www.xoops.ir>
16
 */
17
18
defined('XOOPS_ROOT_PATH') || exit('Restricted access.');
19
20
/**
21
 * Class UserlogCorePreload
22
 */
23
class InstructionCorePreload extends XoopsPreloadItem
24
{
25
    // to add PSR-4 autoloader
26
    /**
27
     * @param $args
28
     */
29
    public static function eventCoreIncludeCommonEnd($args)
30
    {
31
        include __DIR__ . '/autoloader.php';
32
    }
33
}
34