1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fixes #1387 - Log Stats Admin area.

This commit is contained in:
Cameron
2016-02-28 08:19:31 -08:00
parent 3941e9cf4e
commit 0cb6b6724e

View File

@@ -738,7 +738,11 @@ e107::css('inline', 'td.last.options { padding-right:20px } ');
// $text .= // . " log files have been found. Click the button below to process these files.</p>";
$mes->addWarning($tp->lanVars(ADSTAT_LAN_85, $_SESSION['stats_log_files_total'], true));
if(!empty($_SESSION['stats_log_files_total']))
{
$text .= $frm->progressBar('rebuild-progress',0,array("btn-label"=>"Rebuild Stats", 'url'=>e_REQUEST_URI));
}
$text .= $frm->close();
return $text;
@@ -1136,8 +1140,7 @@ e107::css('inline', 'td.last.options { padding-right:20px } ');
}
if(e_DEBUG)
{
new log_adminArea();
require_once(e_ADMIN."auth.php");
@@ -1145,8 +1148,8 @@ if(e_DEBUG)
require_once(e_ADMIN."footer.php");
exit;
}
/*
require_once(e_ADMIN.'auth.php');
@@ -1154,7 +1157,7 @@ require_once(e_HANDLER.'userclass_class.php');
$frm = e107::getForm();
$mes = e107::getMessage();
*/
if (e_QUERY)