diff options
author | nikrou <nikrou@piwigo.org> | 2006-07-28 08:36:38 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-07-28 08:36:38 +0000 |
commit | f6c2f2b1b11f6369beaf88b53efbb8afa64e2ca7 (patch) | |
tree | 67f47d494fb336ffbf1b74e359e57b06554038e6 /include | |
parent | 96bc8e8717dfd0fce08dabbe91953308c8098be9 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index e8d9957bb..9c859d227 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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; |