summaryrefslogtreecommitdiff
path: root/httpdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'httpdocs/index.php')
-rw-r--r--httpdocs/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpdocs/index.php b/httpdocs/index.php
index 2e4df12..e20fcc4 100644
--- a/httpdocs/index.php
+++ b/httpdocs/index.php
@@ -95,7 +95,7 @@ if (isset($_GET['r'])) {
}
if ($_GET['t']=='git')
$handle = popen(
- 'git -C "' . $wok_dir . 'repositories/' . $_GET['t'] . '/' . $_GET['r'] . '"' .
+ 'git -C "' . $work_dir . 'repositories/' . $_GET['t'] . '/' . $_GET['r'] . '"' .
' archive' .
$prefix .
' "' . $commit_identifier . '" | ' .