[dev] wicked patch
Ben Chavet
ben at chavet.net
Thu Nov 18 21:43:38 PST 2004
Attached patch makes wicked generate the proper url when included as a
block (ie, when using giapeto)
--Ben
-------------- next part --------------
Index: Page.php
===================================================================
RCS file: /repository/wicked/lib/Page.php,v
retrieving revision 1.56
diff -u -r1.56 Page.php
--- Page.php 19 Oct 2004 08:11:25 -0000 1.56
+++ Page.php 19 Nov 2004 05:41:34 -0000
@@ -459,7 +459,7 @@
);
$pages = &$wicked->getPages();
- $view_url = Util::addParameter(Horde::url('display.php'),
+ $view_url = Util::addParameter(Horde::url($GLOBALS['registry']->get('webroot') . '/display.php'),
'referrer', $this->pageName());
require_once 'Text/Wiki.php';
More information about the dev
mailing list