You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
<?php
|
|
|
|
$rep = __DIR__ . '/../';
|
|
|
|
$views['form'] = 'Views/HTML/form.php';
|
|
$views['admin'] = 'Views/HTML/admin.php';
|
|
$views['adminLogin'] = 'Views/HTML/adminLogin.php';
|
|
$views['possibleResponsesForm'] = 'Views/HTML/possibleResponsesForm.php';
|
|
$views['continue'] = 'Views/HTML/continue.php';
|
|
$views['categories'] = 'Views/HTML/categories.php';
|
|
$views['questions'] = 'Views/HTML/questions.php';
|
|
$views['responses'] = 'Views/HTML/responses.php';
|
|
$views['thanks'] = 'Views/HTML/thanks.php';
|
|
$views['error'] = 'Views/HTML/error.php';
|
|
|
|
$_SERVER['BASE_URI'] = '';
|
|
|
|
$controller['Candidate'] = 'ControllerCandidate';
|
|
$controller['Admin'] = 'ControllerAdmin';
|
|
|
|
$googleApis = "https://fonts.googleapis.com";
|
|
$googleStatic = "https://fonts.gstatic.com";
|
|
$poppins = "https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap";
|
|
$icon = "https://cdn.uca.fr/images/favicon/favicon.ico";
|
|
$logoUCA = "https://cdn.uca.fr/images/logos/logo_uca_mini_light.png";
|
|
|
|
$GLOBALS['emailMaxLength']=150;
|
|
$GLOBALS['pseudoMaxLength']=50;
|
|
$GLOBALS['passwordMaxLength']=500;
|
|
$GLOBALS['keyWordMaxLength']=50;
|
|
$GLOBALS['titleMaxLength']=50;
|
|
$GLOBALS['typeMaxLength']=50;
|
|
$GLOBALS['responseMaxLength']=200;
|
|
$GLOBALS['usernameMaxLength']=50;
|
|
|