mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
fix: help button was not working in the site manager
fix: incorrect session deletion in maintenance.php git-svn-id: http://piwigo.org/svn/trunk@1080 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -71,12 +71,7 @@ DELETE
|
||||
}
|
||||
case 'sessions' :
|
||||
{
|
||||
$query = '
|
||||
DELETE
|
||||
FROM '.SESSIONS_TABLE.'
|
||||
WHERE expiration < NOW()
|
||||
;';
|
||||
pwg_query($query);
|
||||
pwg_session_gc();
|
||||
break;
|
||||
}
|
||||
case 'feeds' :
|
||||
@@ -113,7 +108,7 @@ $template->assign_vars(
|
||||
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=maintenance',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | sending html code |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
@@ -201,6 +201,7 @@ SELECT galleries_url
|
||||
}
|
||||
|
||||
$template->assign_vars( array(
|
||||
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=remote_site',
|
||||
'F_ACTION' => PHPWG_ROOT_PATH.'admin.php'
|
||||
.get_query_string_diff( array('action','site') )
|
||||
) );
|
||||
|
||||
Reference in New Issue
Block a user