- 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:
plegall
2005-01-11 20:05:49 +00:00
parent 24903f2198
commit 037885d2f3
2 changed files with 2 additions and 2 deletions

View File

@@ -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' );

View File

@@ -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(