1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Disable database update-checks after completion. (unless debug mode is active)

This commit is contained in:
Cameron
2017-11-07 09:02:38 -08:00
parent 263b9318a7
commit 6c153f3069
3 changed files with 56 additions and 37 deletions

View File

@@ -354,6 +354,25 @@ class e107_db_debug {
}
function save($log)
{
e107::getMessage()->addDebug("Saving a log");
$titles = array_keys($this->aTimeMarks[0]);
$text = implode("\t\t\t",$titles)."\n\n";
foreach($this->aTimeMarks as $item)
{
$item['What'] = str_pad($item['What'],50," ",STR_PAD_RIGHT);
$text .= implode("\t\t\t",$item)."\n";
}
file_put_contents($log, $text, FILE_APPEND);
}
function Show_Performance()
{
//