@@ -15,10 +15,12 @@ |
||
15 | 15 | $xss = $_SERVER['argv'][2]; |
16 | 16 | $target = $_SERVER['argv'][3]; |
17 | 17 | |
18 | -if (!file_exists($doc)) |
|
18 | +if (!file_exists($doc)) { |
|
19 | 19 | error("KO: file $doc cannot be found"); |
20 | -if (!file_exists($xss)) |
|
20 | +} |
|
21 | +if (!file_exists($xss)) { |
|
21 | 22 | error("KO: file $xss cannot be found"); |
23 | +} |
|
22 | 24 | |
23 | 25 | info("Starting xsl conversion process..."); |
24 | 26 |