1
0
mirror of synced 2025-01-31 04:21:44 +03:00
This commit is contained in:
jepso 2007-09-01 23:17:44 +00:00
parent f2e9b3ae36
commit 45e56de78e

View File

@ -56,7 +56,7 @@ function autoload($class)
*/
function getSvnRevision($file)
{
$cmd = 'HOME=/tmp /usr/bin/svn info ' . $file;
$cmd = 'HOME=/tmp /usr/bin/svn info ' . escapeshellcmd($file);
exec($cmd, $output);
foreach ($output as $line) {
if (preg_match('/^Last Changed Rev: ([0-9]+)$/', $line, $matches)) {