From ca1e4d8ec727cef236ff371926c0a5ca5420ff95 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 21 Oct 2021 22:05:23 +1100 Subject: [PATCH] Minor fixes for test PDF --- app/Http/Controllers/SetupController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 83ed146b313e..903e350de92e 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -20,6 +20,7 @@ use App\Jobs\Util\SchedulerCheck; use App\Jobs\Util\VersionCheck; use App\Models\Account; use App\Utils\CurlUtils; +use App\Utils\HostedPDF\NinjaPdf; use App\Utils\Ninja; use App\Utils\SystemHealth; use App\Utils\Traits\AppSetup; @@ -245,7 +246,7 @@ class SetupController extends Controller public function checkPdf(Request $request) { try { - if (config('ninja.phantomjs_pdf_generation')) { + if (config('ninja.pdf_generator') == 'phantom') { return $this->testPhantom(); }