Permalink
Browse files

java testing

  • Loading branch information...
1 parent eeddc72 commit 1946002d1942d8c86e48b59a69f5038905393777 @davglass committed Dec 16, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.php
View
@@ -4,7 +4,7 @@
$java = `which java`;
$dir = realpath('./');
$jslint = $dir.'/lib/jslint/jslint-console.js';
-$fulljslint = $dir.'/lib/jslint/fulljslint.js';
+$jslint = $dir.'/lib/jslint/fulljslint.js';
$rhino = $dir.'/lib/rhino/js.jar';
@@ -19,7 +19,7 @@
if ($tempName) {
- $cmd = $java.' -jar '.escapeshellarg($rhino).' '.escapeshellarg($fulljslint).' '.$jslint.' '.escapeshellarg($tempName);
+ $cmd = $java.' -jar '.escapeshellarg($rhino).' '.escapeshellarg($jslint).' '.escapeshellarg($tempName);
echo($cmd);
$out = exec($cmd, $data);

0 comments on commit 1946002

Please sign in to comment.