Commit 84541cb7 authored by Feu's avatar Feu
Browse files

galaxy hourly

parent cfa96b73
...@@ -306,7 +306,7 @@ class galaxy ...@@ -306,7 +306,7 @@ class galaxy
} }
if ( !is_null($max) && $max > 0 ) if ( !is_null($max) && $max > 0 )
$reducer = max(25,round($max)*3); $reducer = max(25,round($max)*3);
echo $max." ".$avg." (".$reducer.") - "; //echo $max." ".$avg." (".$reducer.") - ";
} }
new requete($this->dbrw,"UPDATE galaxy_link, galaxy_star AS a, galaxy_star AS b SET ". new requete($this->dbrw,"UPDATE galaxy_link, galaxy_star AS a, galaxy_star AS b SET ".
......
...@@ -45,6 +45,8 @@ $galaxy->update(); ...@@ -45,6 +45,8 @@ $galaxy->update();
for($i=0;$i<45;$i++) // Environs 1100 cycles/jours for($i=0;$i<45;$i++) // Environs 1100 cycles/jours
$galaxy->cycle(); $galaxy->cycle();
print_r($galaxy);
$galaxy->mini_render($topdir."var/mini_galaxy.png"); $galaxy->mini_render($topdir."var/mini_galaxy.png");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment