@@ -15,16 +15,16 @@ |
||
| 15 | 15 | $lang = $config->system->forced_lang; |
| 16 | 16 | $config->system->forced_lang = $lang; |
| 17 | 17 | |
| 18 | - # Send Javascript header |
|
| 19 | - header('Content-type: text/javascript'); |
|
| 20 | - # Load Config |
|
| 21 | - include_once('../../config.php'); |
|
| 22 | - include_once('../process/locales.loader.php'); |
|
| 23 | - # Load nests-file |
|
| 18 | + # Send Javascript header |
|
| 19 | + header('Content-type: text/javascript'); |
|
| 20 | + # Load Config |
|
| 21 | + include_once('../../config.php'); |
|
| 22 | + include_once('../process/locales.loader.php'); |
|
| 23 | + # Load nests-file |
|
| 24 | 24 | $nest_file = file_get_contents('../json/nests.stats.json'); |
| 25 | 25 | $nests = json_decode($nest_file, true); |
| 26 | 26 | |
| 27 | - ?> |
|
| 27 | + ?> |
|
| 28 | 28 | |
| 29 | 29 | function initMap() { |
| 30 | 30 | $.getJSON( "core/json/variables.json", function( variables ) { |
@@ -5,8 +5,8 @@ discard block |
||
| 5 | 5 | |
| 6 | 6 | <?php |
| 7 | 7 | |
| 8 | - $filePath = dirname(__FILE__); |
|
| 9 | - $config_file = $filePath.'/../../config.php'; |
|
| 8 | + $filePath = dirname(__FILE__); |
|
| 9 | + $config_file = $filePath.'/../../config.php'; |
|
| 10 | 10 | include_once($config_file); |
| 11 | 11 | $variables = $filePath.'/../json/variables.json'; |
| 12 | 12 | $config = json_decode(file_get_contents($variables)); |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | include_once('../../config.php'); |
| 22 | 22 | include_once('../process/locales.loader.php'); |
| 23 | 23 | # Load nests-file |
| 24 | - $nest_file = file_get_contents('../json/nests.stats.json'); |
|
| 24 | + $nest_file = file_get_contents('../json/nests.stats.json'); |
|
| 25 | 25 | $nests = json_decode($nest_file, true); |
| 26 | 26 | |
| 27 | 27 | ?> |