CVS: ispman/bin ispman.addvhost,1.8,1.9
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv13885
Modified Files:
ispman.addvhost
Log Message:
missing bracket
Index: ispman.addvhost
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.addvhost,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ispman.addvhost 8 Oct 2003 04:26:13 -0000 1.8
--- ispman.addvhost 8 Oct 2003 04:28:42 -0000 1.9
***************
*** 30,41 ****
if ($opts{'w'}){
! $r->param("webHost", $opts{'w'});
} elsif ($_webhost=$ispman->getDomainAttribute($opts{'d'}, "ispmanDomainDefaultWebHost")){
! # see if there is a ispmanDomainDefaultWebHost defined
! # for this domain
! $r->param("webHost", $_webhost);
}elsif ($_webhost=$ispman->getHostGroupFirstMember('httpgroup')) {
! $r->param("webHost", $_webhost);
! } else
print "No host in webserver is the group found. \nYou cannot add vhosts untill you define some hosts in the httpgroup\n";
exit;
--- 30,39 ----
if ($opts{'w'}){
! $r->param("webHost", $opts{'w'});
} elsif ($_webhost=$ispman->getDomainAttribute($opts{'d'}, "ispmanDomainDefaultWebHost")){
! $r->param("webHost", $_webhost);
}elsif ($_webhost=$ispman->getHostGroupFirstMember('httpgroup')) {
! $r->param("webHost", $_webhost);
! } else {
print "No host in webserver is the group found. \nYou cannot add vhosts untill you define some hosts in the httpgroup\n";
exit;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf