diff --git a/manual/new/index.php b/manual/new/index.php index f1e19636e..82d2b72aa 100644 --- a/manual/new/index.php +++ b/manual/new/index.php @@ -56,8 +56,8 @@ function autoload($class) */ function getSvnRevision($file) { - exec('svn info ' . $file, $output); - + $cmd = 'HOME=/tmp /usr/bin/svn info ' . $file; + exec($cmd, $output); foreach ($output as $line) { if (preg_match('/^Last Changed Rev: ([0-9]+)$/', $line, $matches)) { return $matches[1];