admin multi view plugin : new option "do not save page visits to history table"

git-svn-id: http://piwigo.org/svn/trunk@4208 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2009-11-05 20:13:41 +00:00
parent 821b4e7222
commit b36d4475cc
2 changed files with 23 additions and 1 deletions
@@ -25,6 +25,10 @@ if (! defined('MULTIVIEW_CONTROLLER') )
$conf['debug_l10n'] = true;
if (pwg_get_session_var( 'multiview_debug_template', 0 ))
$conf['debug_template'] = true;
if (pwg_get_session_var( 'multiview_no_history', 0 ))
{
add_event_handler( 'pwg_log_allowed', create_function( '', 'return false;' ) );
}
}
add_event_handler('loc_end_page_header', 'multiview_loc_end_page_header');