mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 1852: html redirections fail on admin pages
git-svn-id: http://piwigo.org/svn/trunk@6944 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user