Merge branch '1.0-local' into 1.0

This commit is contained in:
xdrm-brackets 2017-02-20 22:26:56 +01:00
commit aa4cde4103
1 changed files with 5 additions and 1 deletions

View File

@ -3,8 +3,12 @@
/* [1] Launches external script /* [1] Launches external script
=========================================================*/ =========================================================*/
function syscall($dependency=null){ function syscall($dependency=null){
// cut in words
$words = explode(' ', $dependency);
/* (1) Check file */ /* (1) Check file */
if( is_null($dependency) || !file_exists($dependency) ) if( is_null($dependency) || !file_exists($words[0]) )
return false; return false;
/* (2) Call and catch output */ /* (2) Call and catch output */