1 | <?php |
||
2 | /*************************************************************************** |
||
3 | * index.php |
||
4 | * ----------------------- |
||
5 | * begin : Friday, March 20, 2015 |
||
6 | * copyright : (C) 2015 Atari Legend |
||
7 | * email : [email protected] |
||
8 | * actual update : Creation of file |
||
9 | * |
||
10 | * Id: index.php,v 0.1 2015/03/20 21:06 ST Graveyard |
||
11 | * |
||
12 | ***************************************************************************/ |
||
13 | |||
14 | //**************************************************************************************** |
||
15 | // This file is only used to start up the actual website |
||
16 | //**************************************************************************************** |
||
17 | |||
18 | header("Location: php/main/front/front.php?action=first_time"); |
||
19 | ?> |
||
0 ignored issues
–
show
|
|||
20 | |||
21 | |||
22 | |||
23 | |||
24 |
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.