git://git.onelab.eu
/
nodeconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17aadf1
)
check before reading the configuration.
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Wed, 1 Sep 2010 08:47:27 +0000
(08:47 +0000)
committer
S.Çağlar Onur
<caglar@verivue.com>
Wed, 16 Mar 2011 19:35:28 +0000
(15:35 -0400)
this fails when myplc installation doesn't have sfa installed.
PlanetLabConf/sfa_config.php
patch
|
blob
|
history
diff --git
a/PlanetLabConf/sfa_config.php
b/PlanetLabConf/sfa_config.php
index
851128e
..
fee3dde
100755
(executable)
--- a/
PlanetLabConf/sfa_config.php
+++ b/
PlanetLabConf/sfa_config.php
@@
-8,7
+8,9
@@
$config_directory = "/etc/sfa/";
$default_name = "sfa_component_config";
$file_name = $config_directory . $default_name;
-readfile($file_name);
+if (file_exists($filename)) {
+ readfile($file_name);
+}
exit();
?>