These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /****************************************************************************** |
||
3 | * Wikipedia Account Creation Assistance tool * |
||
4 | * * |
||
5 | * All code in this file is released into the public domain by the ACC * |
||
6 | * Development Team. Please see team.json for a list of contributors. * |
||
7 | ******************************************************************************/ |
||
8 | |||
9 | namespace Waca; |
||
10 | |||
11 | use Waca\Router\RequestRouter; |
||
12 | |||
13 | /* |
||
14 | * Internal interface script |
||
15 | * |
||
16 | * THIS IS AN ENTRY POINT |
||
17 | */ |
||
18 | |||
19 | require_once('config.inc.php'); |
||
20 | |||
21 | global $siteConfiguration; |
||
0 ignored issues
–
show
|
|||
22 | $application = new WebStart($siteConfiguration, new RequestRouter()); |
||
23 | |||
24 | $application->run(); |
||
25 |
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