rm #27: disable some cronjobs on develper systems

This commit is contained in:
following
2013-05-13 16:34:43 +02:00
parent 5925fc1eed
commit 90a0fe479b
3 changed files with 20 additions and 4 deletions
+9 -4
View File
@@ -14,11 +14,16 @@ class geokrety
function run()
{
$xmlfile = $this->loadXML();
if ($xmlfile == false) return;
global $opt;
$this->importXML($xmlfile);
$this->removeXML($xmlfile);
if ($opt['cron']['geokrety']['run'])
{
$xmlfile = $this->loadXML();
if ($xmlfile == false) return;
$this->importXML($xmlfile);
$this->removeXML($xmlfile);
}
}
/* get file from XML interface