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

Joerg Delker <[email protected]> Tue, 31 Jul 2007 12:21:52 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/htdocs/admin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv14835/ispman-web/htdocs/admin

Modified Files:
	index.cgi 
Log Message:
fixed wrong config usage

Index: index.cgi
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/htdocs/admin/index.cgi,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- index.cgi	31 Jul 2007 10:10:54 -0000	1.24
+++ index.cgi	31 Jul 2007 12:21:50 -0000	1.25
@@ -30,9 +30,9 @@
 require ISPMan::Config;
 my $config = ISPMan::Config->new();
 
-if ( $ispman->getConfig("ispmanUrlPrefix") ) {
+if ( $config->{'ispmanUrlPrefix'} ) {
     $ENV{'SCRIPT_NAME'} =
-      $ispman->getConfig("ispmanUrlPrefix") . "/admin/index.cgi";
+    $config->{'ispmanUrlPrefix'} . "/admin/index.cgi";
 }
 
 # do we have a authenticated session?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/