diff --git a/install/updatesql.php b/install/updatesql.php index 8c723264..375f0f92 100644 --- a/install/updatesql.php +++ b/install/updatesql.php @@ -19,9 +19,9 @@ $updatelog = FroxlorLogger::getInstanceOf(array('loginname' => 'updater'), $db, $settings); -$updatelog = validateUpdateLogFile(makeCorrectFile(dirname(__FILE__).'/update.log')); +$updatelogfile = validateUpdateLogFile(makeCorrectFile(dirname(__FILE__).'/update.log')); $filelog = FileLogger::getInstanceOf(array('loginname' => 'updater'), $settings); -$filelog->setLogFile($updatelog); +$filelog->setLogFile($updatelogfile); $filelog->logAction(ADM_ACTION, LOG_WARNING, '-------------- START LOG --------------'); /*