mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-04 12:32:48 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user