Changeset 849


Ignore:
Timestamp:
03/01/06 18:57:30 (7 years ago)
Author:
olivier
Message:

Suite correction bug initialisation quotas par defaut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/newone.php

    r802 r849  
    4747// On lui attribue des quotas par defaut 
    4848// 10 domains, 10 stats, 10 bases mysql, 20 ftp et 100 emails 
    49 $db->query("update quotas set total=10 where (name='stats' or name='mysql' or name='dom') and uid in (select uid from membres where login='root');"); 
    50 $db->query("update quotas set total=20 where name='ftp' and uid in (select uid from membres where login='root');"); 
    51 $db->query("update quotas set total=100 where name='mail' and uid in (select uid from membres where login='root');"); 
     49$db->query("update quotas,membres set quotas.total=10 where (quotas.name='stats' or quotas.name='sta2' or quotas.name='mysql' or quotas.name='dom') and quotas.uid=membres.uid and membres.login='root' ;"); 
     50$db->query("update quotas,membres set quotas.total=20 where quotas.name='ftp' and quotas.uid=membres.uid and membres.login='root' ;"); 
     51$db->query("update quotas,membres set quotas.total=100 where quotas.name='mail' and quotas.uid=membres.uid and membres.login='root' ;"); 
    5252 
    5353?> 
Note: See TracChangeset for help on using the changeset viewer.