PMC-1165 The application is using two different paths for the Laravel cache files

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-09-06 09:02:45 -04:00
parent bfdd996c23
commit f13bc50aea
2 changed files with 29 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ use Illuminate\Foundation\Exceptions\Handler;
use Illuminate\Foundation\Http\Kernel as Kernel3;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;
use ProcessMaker\Core\System;
/*
|--------------------------------------------------------------------------
@@ -50,6 +51,8 @@ $app->singleton(
Handler::class
);
$app->useStoragePath(System::getPathsInstalled()->pathData);
/*
|--------------------------------------------------------------------------
| Return The Application