Show
Ignore:
Timestamp:
09/21/08 10:17:05 (2 months ago)
Author:
scitech
Message:

Fixed #1538: Not possible to add a domain alias with an already existing mountpoint

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/reseller/user_add4.php

    r1327 r1354  
    217217        } else if (ispcp_domain_exists($alias_name, $_SESSION['user_id'])) { 
    218218                $err_al = tr('Domain with that name already exists on the system!'); 
    219         } else if (!chk_mountp($mount_point)) { 
     219        } else if (!chk_mountp($mount_point) && $mount_point != '/') { 
    220220                $err_al = tr("Incorrect mount point syntax"); 
    221221        } else if ($forward != 'no') {