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: Lexikon - glossary module |
||
5 | * Version: v 1.00 |
||
6 | * Release Date: 8 May 2004 |
||
7 | * Author: hsalazar |
||
8 | * Licence: GNU |
||
9 | */ |
||
10 | |||
11 | global $xoopsModule; |
||
0 ignored issues
–
show
|
|||
12 | include __DIR__ . '/../../mainfile.php'; |
||
13 | xoops_load('XoopsRequest'); |
||
14 | |||
15 | include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->dirname() . '/class/Utility.php'; |
||
16 | $myts = MyTextSanitizer:: getInstance(); |
||
17 |
Instead of relying on
global
state, we recommend one of these alternatives:1. Pass all data via parameters
2. Create a class that maintains your state