1 | <?php |
||
2 | /** |
||
3 | * index.php - overview.php |
||
4 | * |
||
5 | * 2.4 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
6 | * [-] Removed News frame |
||
7 | * [-] Time & Usersonline moved to Top-Frame |
||
8 | * 2.3 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
9 | * [*] Complying with PCG |
||
10 | * 2.2 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
11 | * [+] Redo flying fleet list |
||
12 | * 2.1 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
13 | * [+] Planets on planet list now have indication of planet fill |
||
14 | * [+] Planets on planet list now have indication when there is enemy fleet flying to planet |
||
15 | * 2.0 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
16 | * [+] Now there is full planet list on right side of screen a-la oGame |
||
17 | * [+] Planet list now include icons for buildings/tech/fleet on progress |
||
18 | * 1.5 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
19 | * [*] Subplanet timers now use sn_timer.js library |
||
20 | * 1.4 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
21 | * [*] All mainplanet timers now use new sn_timer.js library |
||
22 | * 1.3 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
23 | * [*] Adjusted layouts of player infos |
||
24 | * 1.2 - copyright (c) 2010 by Gorlum for http://supernova.ws |
||
25 | * [*] Adjusted layouts of planet infos |
||
26 | * 1.1 - Security checks by Gorlum for http://supernova.ws |
||
27 | * @version 1 |
||
28 | * @copyright 2008 By Chlorel for XNova |
||
29 | */ |
||
30 | |||
31 | //define('SN_RENDER_NAVBAR_PLANET', false); |
||
0 ignored issues
–
show
|
|||
32 | |||
33 | include('common.' . substr(strrchr(__FILE__, '.'), 1)); |
||
34 | |||
35 | $pageOverview = new \Pages\Deprecated\PageOverview(); |
||
36 | $pageOverview->route(); |
||
37 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.