diff --git a/lib/include/php/func b/lib/include/php/func index d44140f..9fcfcf9 100755 --- a/lib/include/php/func +++ b/lib/include/php/func @@ -3,8 +3,12 @@ /* [1] Launches external script =========================================================*/ function syscall($dependency=null){ + + // cut in words + $words = explode(' ', $dependency); + /* (1) Check file */ - if( is_null($dependency) || !file_exists($dependency) ) + if( is_null($dependency) || !file_exists($words[0]) ) return false; /* (2) Call and catch output */