1 | <?php |
||
2 | /** |
||
3 | * xDonations module |
||
4 | * |
||
5 | * You may not change or alter any portion of this comment or credits |
||
6 | * of supporting developers from this source code or any supporting source code |
||
7 | * which is considered copyrighted (c) material of the original comment or credit authors. |
||
8 | * This program is distributed in the hope that it will be useful, |
||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||
11 | * |
||
12 | * @copyright XOOPS Project (https://xoops.org) |
||
13 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License |
||
14 | * @package xdonations |
||
15 | * @since 2.5.0 |
||
16 | * @author XOOPS Development Team |
||
17 | **/ |
||
18 | |||
19 | use XoopsModules\Xdonations; |
||
20 | use XoopsModules\Xdonations\Common; |
||
21 | |||
22 | require_once __DIR__ . '/admin_header.php'; |
||
23 | xoops_cp_header(); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
24 | |||
25 | $adminObject = \Xmf\Module\Admin::getInstance(); |
||
0 ignored issues
–
show
The type
Xmf\Module\Admin was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
26 | |||
27 | $adminObject->displayNavigation(basename(__FILE__)); |
||
28 | $adminObject->displayIndex(); |
||
29 | |||
30 | echo $utility::getServerStats(); |
||
31 | |||
32 | require __DIR__ . '/admin_footer.php'; |
||
33 |