refresh_time must be 0 by default

fix line too long


git-svn-id: http://piwigo.org/svn/trunk@1510 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2006-07-28 08:36:38 +00:00
parent 96bc8e8717
commit f6c2f2b1b1

View File

@@ -386,7 +386,8 @@ function pwg_log( $file, $category, $picture = '' )
if ($conf['log'])
{
if ( ($conf['history_admin'] ) or ( (! $conf['history_admin']) and (!is_admin()) ) )
if (($conf['history_admin']) or ((! $conf['history_admin'])
and (!is_admin())))
{
$login = ($user['id'] == $conf['guest_id'])
? 'guest' : addslashes($user['username']);
@@ -556,7 +557,7 @@ function pwg_debug( $string )
* @param integer $refreh_time
* @return void
*/
function redirect( $url , $msg = '', $refresh_time = 1000)
function redirect( $url , $msg = '', $refresh_time = 0)
{
global $lang_info, $lang;