XoopsModules25x /
soapbox
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * $Id: header.php v 1.5 23 August 2004 hsalazar Exp $ |
||
| 4 | * Module: Soapbox |
||
| 5 | * Version: v 1.5 |
||
| 6 | * Release Date: 23 August 2004 |
||
| 7 | * Author: hsalazar |
||
| 8 | * Licence: GNU |
||
| 9 | */ |
||
| 10 | global $xoopsModule; |
||
|
0 ignored issues
–
show
|
|||
| 11 | include dirname(dirname(__DIR__)) . '/mainfile.php'; |
||
| 12 | |||
| 13 | include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->dirname() . "/include/functions.php"; |
||
| 14 | $myts = MyTextSanitizer:: getInstance(); |
||
| 15 | xoops_load('Xmf\Request'); |
||
| 16 |
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