Skip to content

Commit 3dfce62

Browse files
author
Pascal Dreissen
committed
Revert "vhost quota not correctly pointing to document root (DF -T) fixes #3984"
This reverts commit 7827db3
1 parent 7827db3 commit 3dfce62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ function update($event_name, $data) {
884884
}
885885

886886
// get the primitive folder for document_root and the filesystem, will need it later.
887-
$df_output=explode(" ", exec("df -T " . $data['new']['document_root'] . "|awk 'END{print \$2,\$NF}'"));
887+
$df_output=explode(" ", exec("df -T $document_root|awk 'END{print \$2,\$NF}'"));
888888
$file_system = $df_output[0];
889889
$primitive_root = $df_output[1];
890890

0 commit comments

Comments
 (0)