-
diosmosis a rédigé
Fixes #5807, refactor CronArchive class so it does not configure itself based on command line arguments. It now has properties that must be set. The core:archive command has been refactored to set these properties based on command line args. Also includes: - bug fix to CronArchive::initLog method (config was modified after log instance created which negated it's effect) - misc/archive.php no longer uses Archive.php but executes the core:archive console command using Piwik\Console - remove forcelogtoscreen parameter (no longer necessary due to initLog changes)
diosmosis a rédigéFixes #5807, refactor CronArchive class so it does not configure itself based on command line arguments. It now has properties that must be set. The core:archive command has been refactored to set these properties based on command line args. Also includes: - bug fix to CronArchive::initLog method (config was modified after log instance created which negated it's effect) - misc/archive.php no longer uses Archive.php but executes the core:archive console command using Piwik\Console - remove forcelogtoscreen parameter (no longer necessary due to initLog changes)
Chargement en cours