Merge branch '1.0-local' into 1.0
This commit is contained in:
commit
aa4cde4103
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue