📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: CertificateController.php
<?php namespace App\Controller; use App\Model\IsInstalledRequestDTO; use App\Service\CpanelHelper; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpKernel\Attribute\MapQueryString; use Symfony\Component\Routing\Annotation\Route; class CertificateController extends AbstractController { #[Route('certificate/is_installed', name: 'getInstalled', methods: ['GET'])] public function getInstalled( #[MapQueryString] IsInstalledRequestDTO $isInstalledRequestDTO, CpanelHelper $cpanelHelper, ): JsonResponse { $domain = $isInstalledRequestDTO->domain; $certificateId = $cpanelHelper->getInstalledSsl($domain); return new JsonResponse([ 'status' => 'ok', 'certificateId' => $certificateId, ]); } }
Save