From cdc55cb66722e09fb1a71071469d640cbcb82bf4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 1 Sep 2010 08:47:40 +0000 Subject: [PATCH] check before reading. --- PlanetLabConf/sfa_component_setup_cron.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PlanetLabConf/sfa_component_setup_cron.php b/PlanetLabConf/sfa_component_setup_cron.php index 67602cb..353bfe6 100644 --- a/PlanetLabConf/sfa_component_setup_cron.php +++ b/PlanetLabConf/sfa_component_setup_cron.php @@ -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(); ?> -- 2.43.0