- show START and END of update.log
- tiny beautification in updater
This commit is contained in:
@@ -21,6 +21,7 @@ $updatelog = FroxlorLogger::getInstanceOf(array('loginname' => 'updater'), $db,
|
||||
|
||||
$filelog = FileLogger::getInstanceOf(array('loginname' => 'updater'), $settings);
|
||||
$filelog->setLogFile(makeCorrectFile(dirname(__FILE__).'/update.log'));
|
||||
$filelog->logAction(ADM_ACTION, LOG_WARNING, '-------------- START LOG --------------');
|
||||
|
||||
/*
|
||||
* since froxlor, we have to check if there's still someone
|
||||
@@ -92,9 +93,8 @@ if(!isFroxlor())
|
||||
|
||||
if(isFroxlor())
|
||||
{
|
||||
$filelog->logAction(ADM_ACTION, LOG_NOTICE, '-------------- START LOG --------------');
|
||||
include_once (makeCorrectFile(dirname(__FILE__).'/updates/froxlor/0.9/update_0.9.inc.php'));
|
||||
$filelog->logAction(ADM_ACTION, LOG_NOTICE, '--------------- END LOG ---------------');
|
||||
$filelog->logAction(ADM_ACTION, LOG_WARNING, '--------------- END LOG ---------------');
|
||||
unset($filelog);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user