Skip to content
Snippets Groups Projects
Commit 4be45352 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #26977 : remove baseURL from tagAnchor

parent 98e03da2
Branches
Tags
1 merge request!1008Hotline #26977 url blog critiques
......@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class ZendAfi_View_Helper_TagAnchor extends Zend_View_Helper_HtmlElement {
/**
......@@ -36,10 +36,5 @@ class ZendAfi_View_Helper_TagAnchor extends Zend_View_Helper_HtmlElement {
}
public function baseURL($text, $controller, $action, $params) {
$url = 'http://' . $_SERVER['SERVER_NAME'] . BASE_URL . '/' . $controller . '/' . $action . '?' . http_build_query($params, '', '&');
return $this->tagAnchor($url, $text);
}
}
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment