From: Andrey Kutejko Date: Sun, 4 Jan 2015 18:51:52 +0000 (+0200) Subject: fix file browser path in html widget X-Git-Tag: 0.6~95 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=f878f239bd4526a2e3d6d655d26206b7e83c4f08;p=ipf.git fix file browser path in html widget --- diff --git a/ipf/admin/form/widgets/htmlinput.php b/ipf/admin/form/widgets/htmlinput.php index caf92bc..4bd6d73 100644 --- a/ipf/admin/form/widgets/htmlinput.php +++ b/ipf/admin/form/widgets/htmlinput.php @@ -18,7 +18,7 @@ class IPF_Admin_Form_Widget_HTMLInput extends IPF_Form_Widget $this->force_absolute_urls = \PFF\Arr::pop($attrs, 'force_absolute_urls', false); $this->editor_config = \PFF\Arr::pop($attrs, 'editor_config', array()); - $this->filebrowser_url = IPF_HTTP_URL::urlForView(array('IPF_Admin_FileBrowser_Controller', 'index'), array('/')).'/'; + $this->filebrowser_url = IPF_HTTP_URL::urlForView(array('IPF_Admin_FileBrowser_Controller', 'index')); parent::__construct($attrs); }