mambax7 /
xdonations
| 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 | |||
| 21 | require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; |
||
| 22 | //require_once $GLOBALS['xoops']->path('www/class/xoopsformloader.php'); |
||
| 23 | require_once dirname(__DIR__) . '/include/common.php'; |
||
| 24 | |||
| 25 | $moduleDirName = basename(dirname(__DIR__)); |
||
| 26 | |||
| 27 | /** @var \XoopsModules\Xdonations\Helper $helper */ |
||
| 28 | $helper = \XoopsModules\Xdonations\Helper::getInstance(); |
||
| 29 | |||
| 30 | /** @var \Xmf\Module\Admin $adminObject */ |
||
| 31 | $adminObject = \Xmf\Module\Admin::getInstance(); |
||
|
0 ignored issues
–
show
|
|||
| 32 | |||
| 33 | // Load language files |
||
| 34 | $helper->loadLanguage('admin'); |
||
| 35 | $helper->loadLanguage('modinfo'); |
||
| 36 | $helper->loadLanguage('main'); |
||
| 37 | |||
| 38 |
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.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths