- create update.log on update in folder /install/

This commit is contained in:
Michael Kaufmann (d00p)
2010-05-17 06:09:30 +00:00
parent 785e8f0938
commit 089b03de38
4 changed files with 18 additions and 6 deletions

View File

@@ -89,7 +89,12 @@ if(!isFroxlor())
if(isFroxlor())
{
$filelog = FileLogger::getInstanceOf(array('loginname' => 'updater'), $db, $settings);
$filelog->setLogFile(makeCorrectFile(dirname(__FILE__).'update.log'));
$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 ---------------');
unset($filelog);
}
?>