diff --git a/library/ZendAfi/View/Helper/TagPreview.php b/library/ZendAfi/View/Helper/TagPreview.php index 74276dea4cc03da56b459b0cfb8b0d5929e4b3b9..e734f6fcd55868b1709eb1ebe9d2b3e8b9270d7e 100644 --- a/library/ZendAfi/View/Helper/TagPreview.php +++ b/library/ZendAfi/View/Helper/TagPreview.php @@ -21,7 +21,7 @@ class ZendAfi_View_Helper_TagPreview extends ZendAfi_View_Helper_BaseHelper { public function tagPreview($url, $libelle) { return - '<a data-prettyphoto="true" href="'.$url.'?'.http_build_query(['iframe' => 'true', 'width' => '95%', 'height' => '95%']).'" title="'.$libelle.'"> + '<a data-prettyphoto="true" href="'.$url.'?'.http_build_query(['iframe' => 'true', 'width' => '95%', 'height' => '95%'], '', '&').'" title="'.$libelle.'"> <img src="'.URL_ADMIN_IMG.'picto/show.gif" title="'.$libelle.'" diff --git a/library/startup.php b/library/startup.php index 7c483154496f57b51f8bb17aab2fa00ff1e58972..62a05ef621f2aa4b2794e2d529eb8ca13d6e0f88 100644 --- a/library/startup.php +++ b/library/startup.php @@ -26,8 +26,6 @@ if (!function_exists('xdebug_break')) { function setupOpac() { - ini_set('arg_separator.output', '&'); - Zend_Loader::registerAutoload(); setupConstants(); require_once('requires.php');