ispman/ispman-web/htdocs/admin index.cgi,1.25,1.26

Joerg Delker <[email protected]> Wed, 31 Dec 2008 17:24:55 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/htdocs/admin
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29723/ispman-web/htdocs/admin

Modified Files:
	index.cgi 
Log Message:
fixed problem with wrong ispmanUrlPrefix evaluation

Index: index.cgi
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/htdocs/admin/index.cgi,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- index.cgi	31 Jul 2007 12:21:50 -0000	1.25
+++ index.cgi	31 Dec 2008 17:24:53 -0000	1.26
@@ -190,7 +190,7 @@
 
 my $_path = $ENV{'SCRIPT_NAME'};
 $_path =~ s!/admin/index.cgi!!;
-$ispman->setConfig( "ispmanUrlPrefix", $_path );
+if (!defined($config->{'ispmanUrlPrefix'})) { $ispman->setConfig( "ispmanUrlPrefix", $_path ); }
 
 my $mode = $r->param("mode");
 


------------------------------------------------------------------------------