Almost done work on windows for contact/host create and contact/host search

This commit is contained in:
Pinga 2025-02-17 18:43:46 +02:00
parent 1af5127cfb
commit bee6f27188
7 changed files with 1958 additions and 30 deletions

View file

@ -8,6 +8,7 @@ use Psr\Container\ContainerInterface;
use Selective\XmlDSig\PublicKeyStore;
use Selective\XmlDSig\CryptoVerifier;
use Selective\XmlDSig\XmlSignatureVerifier;
use League\ISO3166\ISO3166;
class ApplicationsController extends Controller
{
@ -616,11 +617,15 @@ class ApplicationsController extends Controller
$registrar = null;
}
$iso3166 = new ISO3166();
$countries = $iso3166->all();
// Default view for GET requests or if POST data is not set
$launch_phases = $db->selectValue("SELECT value FROM settings WHERE name = 'launch_phases'");
if ($launch_phases == 'on') {
return view($response,'admin/domains/createApplication.twig', [
'registrars' => $registrars,
'countries' => $countries,
'registrar' => $registrar,
]);
} else {