mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix getLogFile when use env
This commit is contained in:
@@ -40,6 +40,7 @@ class BackupCronjob extends Command
|
||||
{
|
||||
$force = $this->option('force');
|
||||
$this->info("force: $force");
|
||||
do_log("ENV: " . getenv('NEXUS_LOG_DIR', true) . ", logFile: " . getLogFile());
|
||||
$rep = new ToolRepository();
|
||||
$result = $rep->cronjobBackup($force);
|
||||
$log = sprintf(
|
||||
|
||||
Reference in New Issue
Block a user