From f2e9b3ae3656f4d443d171241b69f4b477565edc Mon Sep 17 00:00:00 2001 From: pookey Date: Sat, 1 Sep 2007 23:14:07 +0000 Subject: [PATCH] pookey: fixed odd svn problem, jepso, please sort out escaping :P --- manual/new/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];