OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-registry Date: 26-Nov-2005 21:46:02
Branch: HEAD Handle: 2005112620460100
Modified files:
openpkg-registry registry-ui.pl
Log:
apply the usual hack/fix for empty relative URLs in case mod_rewrite
magic is active
Summary:
Revision Changes Path
1.26 +1 -1 openpkg-registry/registry-ui.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-registry/registry-ui.pl
============================================================================
$ cvs diff -u -r1.25 -r1.26 registry-ui.pl
--- openpkg-registry/registry-ui.pl 25 Nov 2005 23:43:29 -0000 1.25
+++ openpkg-registry/registry-ui.pl 26 Nov 2005 20:46:01 -0000 1.26
@@ -81,7 +81,7 @@
# create objects
my $cgi = new CGI;
-my $myurl = $cgi->url(-relative => 1);
+my $myurl = $cgi->url(-relative => 1) || ".";
# database handle and scratch variables
#
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]