mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 05:22:37 +02:00
Fixed missing $lang and extra code not needed
git-svn-id: http://piwigo.org/svn/trunk@1509 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -556,9 +556,9 @@ function pwg_debug( $string )
|
||||
* @param integer $refreh_time
|
||||
* @return void
|
||||
*/
|
||||
function redirect( $url , $msg = '', $refresh_time = 0)
|
||||
function redirect( $url , $msg = '', $refresh_time = 1000)
|
||||
{
|
||||
global $lang_info;
|
||||
global $lang_info, $lang;
|
||||
|
||||
if (!isset($lang_info)) {
|
||||
include_once(get_language_filepath('common.lang.php'));
|
||||
@@ -581,8 +581,6 @@ function redirect( $url , $msg = '', $refresh_time = 0)
|
||||
'CONTENT_ENCODING' => $lang_info['charset'],
|
||||
'LANG'=>$lang_info['code'],
|
||||
'DIR'=>$lang_info['direction'],
|
||||
'CONTENT' => print_r($user,true),
|
||||
'LANG_INFO' => print_r($lang_info,true)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user