mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-04 20:42:53 +02:00
- decrease refresh time to 0 seconds
git-svn-id: http://piwigo.org/svn/trunk@686 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -547,7 +547,7 @@ function redirect( $url )
|
||||
|
||||
// $refresh, $url_link and $title are required for creating an automated
|
||||
// refresh page in header.tpl
|
||||
$refresh = 2;
|
||||
$refresh = 0;
|
||||
$url_link = $url;
|
||||
$title = 'redirection';
|
||||
include( PHPWG_ROOT_PATH.'include/page_header.php' );
|
||||
|
||||
@@ -44,7 +44,7 @@ $template->assign_vars(
|
||||
));
|
||||
|
||||
// refresh
|
||||
if ( isset( $refresh ) and $refresh > 0 and isset( $url_link ) )
|
||||
if ( isset( $refresh ) and is_int($refresh) and isset( $url_link ) )
|
||||
{
|
||||
$template->assign_vars(
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user