Skip to content

Commit ff26b45

Browse files
author
Pascal Dreissen
committed
cron_plugin.inc.php $document root fix for quota
1 parent a481a62 commit ff26b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/cron_plugin.inc.php

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

138138
// get the primitive folder for document_root and the filesystem, will need it later.
139-
$df_output=explode(" ", exec("df -T $document_root|awk 'END{print \$2,\$NF}'"));
139+
$df_output=explode(" ", exec("df -T " . $parent_domain["document_root"] . "|awk 'END{print \$2,\$NF}'"));
140140
$file_system = $df_output[0];
141141
$primitive_root = $df_output[1];
142142

0 commit comments

Comments
 (0)