Use setting instead of hardcoded name, refs #814

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-18 23:06:39 +02:00
parent aae635bf5d
commit 1836132c28

View File

@@ -106,7 +106,7 @@ $db_root->close();
if ($settings['system']['diskquota_enabled'])
{
# Fetch all quota in the desired partition
exec("repquota -np " . $settings['system']['diskquota_customer_partition'], $repquota);
exec($settings['system']['diskquota_repquota_path'] . " -np " . $settings['system']['diskquota_customer_partition'], $repquota);
$usedquota = array();
foreach ($repquota as $tmpquota)