<?php include __DIR__."/../lib/sysVcom.php"; rpc_setGlobals( 'procName', __DIR__.'/BU-commander' ); rpc_setGlobals( 'max_chan', 8182 ); /** * Expecting either an array or a single string. */ function run_main_command( $cmd ){ if(is_array($cmd)){ return rpc_with_array( $cmd ); }else{ return rpc_with_array( array($cmd) ); } } ?>