1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Cache DBVerify table info for 15 mins (unless debug is active) - speed up admin dashboard.

This commit is contained in:
Cameron
2017-02-03 11:34:14 -08:00
parent 27ba3ea90e
commit 612f16127c
2 changed files with 34 additions and 12 deletions

View File

@@ -207,6 +207,7 @@ class system_tools
if(isset($_POST['verify_sql']) || varset($_GET['mode'])=='verify_sql')
{
e107::getCache()->clear('Dbverify',true);
require_once(e_HANDLER."db_verify_class.php");
$dbv = new db_verify;
$dbv->backUrl = e_SELF."?mode=verify_sql";