Permalink
Browse files

bug 1852: html redirections fail on admin pages

git-svn-id: http://piwigo.org/svn/trunk@6944 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
modus75 committed Sep 16, 2010
1 parent 9ab6094 commit 08da40be5fa88edd7661de77a11ae4955771d471
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/functions.inc.php
@@ -579,6 +579,10 @@ function redirect_html( $url , $msg = '', $refresh_time = 0)
load_language('lang', PHPWG_ROOT_PATH.'local/', array('no_fallback'=>true, 'local'=>true) );
$template = new Template(PHPWG_ROOT_PATH.'themes', get_default_theme());
}
elseif (defined('IN_ADMIN') and IN_ADMIN)
{
$template = new Template(PHPWG_ROOT_PATH.'themes', get_default_theme());
}
if (empty($msg))
{

0 comments on commit 08da40b

Please sign in to comment.