Enleve le debug du quota et protege un peu mieux les variables
This commit is contained in:
parent
69ea12831a
commit
f325f3f5e1
|
@ -147,6 +147,8 @@ class m_quota {
|
|||
while (list($key,$val)=each($this->disk)) {
|
||||
$a=array();
|
||||
exec("/usr/lib/alternc/quota_get ".$cuid ,$a);
|
||||
$a[0]=intval($a[0]);
|
||||
$a[1]=intval($a[1]);
|
||||
$this->quotas[$val]=array("name"=>"$val", 'description'=>_("quota_".$val), "t"=>$a[1],"u"=>$a[0]);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -x
|
||||
AWK=/usr/bin/awk
|
||||
DF=/bin/df
|
||||
SED=/bin/sed
|
||||
|
|
Loading…
Reference in New Issue