diff options
| author | uwe.tews@googlemail.com <uwe.tews@googlemail.com> | 2010-11-14 15:08:44 +0000 |
|---|---|---|
| committer | uwe.tews@googlemail.com <uwe.tews@googlemail.com> | 2010-11-14 15:08:44 +0000 |
| commit | 7135787127c342d5aea9f3ba2542297e1b777001 (patch) | |
| tree | 08b9084d6a0a84a47ad750263fb1bd6458cb1e01 /libs/plugins | |
| parent | 6ff5c28343519654c5854029b3086b2b72fefc26 (diff) | |
| download | smarty-7135787127c342d5aea9f3ba2542297e1b777001.tar.gz smarty-7135787127c342d5aea9f3ba2542297e1b777001.tar.bz2 smarty-7135787127c342d5aea9f3ba2542297e1b777001.zip | |
- bugfix isset() did not allow multiple parameter
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
Diffstat (limited to 'libs/plugins')
| -rw-r--r-- | libs/plugins/function.html_image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php index 57c26658..abb7b578 100644 --- a/libs/plugins/function.html_image.php +++ b/libs/plugins/function.html_image.php @@ -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) { |
