isAdmin()) { $gBitSmarty->assign('msg', KernelTools::tra("You dont have permission to use this feature")); $gBitSystem->display( 'error.tpl' , null, [ 'display_mode' => 'admin' ] ); die; } if( defined( 'DB_PERFORMANCE_STATS' ) && constant( 'DB_PERFORMANCE_STATS' ) ) { ?>
Database performance monitoring is a low level, and intensive task. It should not be left on for extended periods of time.
To activate database performance, please add to you config/kernel/config_inc.php:
define( 'DB_PERFORMANCE_STATS', true );
For more information, see the ADODB documentation