Reupload after bitbucket wipe
This commit is contained in:
19
heatmaps/generate.php
Executable file
19
heatmaps/generate.php
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set("memory_limit", "32M");
|
||||
|
||||
require_once 'config.inc.php';
|
||||
require_once 'heatmap.class.php';
|
||||
|
||||
$heat = new Heatmap;
|
||||
$heat->init();
|
||||
|
||||
foreach (Env::get('mapinfo') as $game => $gameconf) {
|
||||
foreach ($gameconf as $map => $data) {
|
||||
$heat->generate($game, $map, "kill");
|
||||
}
|
||||
}
|
||||
|
||||
show::Event("CREATE", "Heatmap creation done.", 1);
|
||||
?>
|
Reference in New Issue
Block a user