}
sort($ofiles);
$eoutput = escapeshellarg($output);
- $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ');
+ $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ') . ' 2>&1';
//echo "<PRE>$cmd\n";
//echo `$cmd`;
$res = `$cmd`;
return true;
}
- echo '<!-- packed file did not exist '. htmlspecialchars($res) . "\n-->";
+ echo "<!-- packed file did not exist
+
+ " . htmlspecialchars($cmd) . "
+
+ " . htmlspecialchars($res) . "
+
+ -->";
return false;
}