- bugfix isset() did not allow multiple parameter

- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
This commit is contained in:
uwe.tews@googlemail.com
2010-11-14 15:08:44 +00:00
parent 6ff5c28343
commit 7135787127
5 changed files with 882 additions and 867 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ function smarty_function_html_image($params, $template)
$prefix = '';
$suffix = '';
$path_prefix = '';
$server_vars = ($template->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
$server_vars = $_SERVER;
$basedir = isset($server_vars['DOCUMENT_ROOT']) ? $server_vars['DOCUMENT_ROOT'] : '';
foreach($params as $_key => $_val) {
switch ($_key) {