Skip to content
Snippets Groups Projects
Commit ff26b450 authored by Pascal Dreissen's avatar Pascal Dreissen
Browse files

cron_plugin.inc.php $document root fix for quota

parent a481a62a
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ class cron_plugin { ...@@ -136,7 +136,7 @@ class cron_plugin {
} }
// get the primitive folder for document_root and the filesystem, will need it later. // get the primitive folder for document_root and the filesystem, will need it later.
$df_output=explode(" ", exec("df -T $document_root|awk 'END{print \$2,\$NF}'")); $df_output=explode(" ", exec("df -T " . $parent_domain["document_root"] . "|awk 'END{print \$2,\$NF}'"));
$file_system = $df_output[0]; $file_system = $df_output[0];
$primitive_root = $df_output[1]; $primitive_root = $df_output[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment