[dev] wicked patch
Jason M. Felice
jfelice at cronosys.com
Fri Nov 19 07:22:11 PST 2004
On Thu, Nov 18, 2004 at 11:43:38PM -0600, Ben Chavet wrote:
> Attached patch makes wicked generate the proper url when included as a
> block (ie, when using giapeto)
>
> --Ben
Isn't this what Horde::applicationUrl() is for?
> 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';
--
Jason M. Felice
Cronosys, LLC <http://www.cronosys.com/>
216.221.4600 x302
More information about the dev
mailing list