mambax7 /
wflinks
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * |
||
| 4 | * Module: WF-Links |
||
| 5 | * Version: v1.0.3 |
||
| 6 | * Release Date: 21 June 2005 |
||
| 7 | * Developer: John N |
||
| 8 | * Team: WF-Projects |
||
| 9 | * Licence: GNU |
||
| 10 | */ |
||
| 11 | |||
| 12 | $moduleDirName = basename(__DIR__); |
||
| 13 | |||
| 14 | require_once __DIR__ . '/../../mainfile.php'; |
||
| 15 | include XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/include/config.php'; |
||
| 16 | include XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/include/functions.php'; |
||
| 17 | require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/class_thumbnail.php'; |
||
| 18 | require_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
||
| 19 | require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/xoopstree.php'; |
||
| 20 | |||
| 21 | if (!file_exists(__DIR__ . '/language/' . $xoopsConfig['language'] . '/main.php')) { |
||
| 22 | require_once __DIR__ . '/language/english/main.php'; |
||
| 23 | } |
||
| 24 | |||
| 25 | require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/myts_extended.php'; |
||
| 26 | $wfmyts = new wflTextSanitizer(); // MyTextSanitizer object |
||
| 27 | |||
| 28 | global $xoopModuleConfig; |
||
|
0 ignored issues
–
show
|
|||
| 29 |
Instead of relying on
globalstate, we recommend one of these alternatives:1. Pass all data via parameters
2. Create a class that maintains your state