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(); }