aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-07-28 08:36:38 +0000
committernikrou <nikrou@piwigo.org>2006-07-28 08:36:38 +0000
commitf6c2f2b1b11f6369beaf88b53efbb8afa64e2ca7 (patch)
tree67f47d494fb336ffbf1b74e359e57b06554038e6
parent96bc8e8717dfd0fce08dabbe91953308c8098be9 (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 '')
-rw-r--r--include/functions.inc.php5
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;