ispman/lib/ISPMan DomainMan.pm,1.62,1.63
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28918/lib/ISPMan
Modified Files:
DomainMan.pm
Log Message:
fixing bug with wrong vhost homedir when "create default www vhost"
Index: DomainMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DomainMan.pm,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- DomainMan.pm 1 May 2004 18:13:31 -0000 1.62
+++ DomainMan.pm 1 May 2004 20:57:59 -0000 1.63
@@ -239,8 +239,9 @@
# create default vhost for domain
$self->log_event("createVhost=" . $r->param("createVhost") . "\n");
if ($r->param("createVhost") && $r->param("ispmanDomainDefaultWebHost")) {
- $r->param("ispmanVhostName", "www");
- $self->addVhost($r);
+ my $q=new CGI( {'ispmanVhostName'=>'www',
+ 'ispmanDomain'=>$domain} );
+ $self->addVhost($q);
}
# create directories for this domain
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click