supernova-ws /
SuperNova
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * officer.php |
||
| 5 | * Handles officer hire |
||
| 6 | * |
||
| 7 | * @package roleplay |
||
| 8 | * @version 2.0 |
||
| 9 | * |
||
| 10 | * copyright (c) 2009-2012 by Gorlum for http://supernova.ws |
||
| 11 | * |
||
| 12 | */ |
||
| 13 | |||
| 14 | include('common.' . substr(strrchr(__FILE__, '.'), 1)); |
||
| 15 | |||
| 16 | global $user; |
||
|
0 ignored issues
–
show
|
|||
| 17 | $thePage = new \Deprecated\PageMercenary(); |
||
| 18 | $thePage->mrc_mercenary_render($user); |
||
| 19 |
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