Subversion Repositories ALCASAR

Rev

Rev 3037 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3100
Line 238... Line 238...
238
            if ($val['function'] == 'include' || $val['function'] == 'require' || $val['function'] == 'include_once' || $val['function'] == 'require_once') {
238
            if ($val['function'] == 'include' || $val['function'] == 'require' || $val['function'] == 'include_once' || $val['function'] == 'require_once') {
239
                $strFunc = '';
239
                $strFunc = '';
240
            } else {
240
            } else {
241
                $strFunc = $val['function'].'(';
241
                $strFunc = $val['function'].'(';
242
                if (isset($val['args'][0])) {
242
                if (isset($val['args'][0])) {
-
 
243
                    if (($val['function'] == 'executeProgram') && ($val['args'][0] == 'sshpass')
-
 
244
                       && isset($val['args'][1]) && preg_match('/"([^"]+)"$/', $val['args'][1], $tmpout)) {
-
 
245
                        $val['args'][1] = 'ssh: '. $tmpout[1];
-
 
246
                    }
243
                    $strFunc .= ' ';
247
                    $strFunc .= ' ';
244
                    $strComma = '';
248
                    $strComma = '';
245
                    foreach ($val['args'] as $valArgs) {
249
                    foreach ($val['args'] as $valArgs) {
246
                        $strFunc .= $strComma.$this->_printVar($valArgs);
250
                        $strFunc .= $strComma.$this->_printVar($valArgs);
247
                        $strComma = ', ';
251
                        $strComma = ', ';