check before reading.
Barış Metin [Wed, 1 Sep 2010 08:47:40 +0000 (08:47 +0000)]
PlanetLabConf/sfa_component_setup_cron.php

index 67602cb..353bfe6 100644 (file)
@@ -7,7 +7,9 @@
 
 $default_name = "sfa_component_setup.cron";
 $file_name = $default_name;
-readfile($file_name);
+if (file_exists($filename)) {
+    readfile($file_name);
+}
 exit();
 
 ?>