| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/c/o/o/coopiak/amisdesseniors-fr/vesoul/components/com_acym/ |
Upload File : |
<?php
use Joomla\CMS\Factory;
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
$app = Factory::getApplication();
$app->enqueueMessage('This version of AcyMailing requires at least PHP 7.4.0, it is time to update the PHP version of your server!', 'error');
} else {
$ds = DIRECTORY_SEPARATOR;
$helperFile = rtrim(JPATH_ADMINISTRATOR, $ds).$ds.'components'.$ds.'com_acym'.$ds.'Core'.$ds.'init.php';
if (!include_once $helperFile) {
$app = Factory::getApplication();
$app->enqueueMessage('Could not load AcyMailing library', 'error');
return;
}
acym_loadLanguage();
if (acym_isDebug()) acym_displayErrors();
global $Itemid;
if (empty($Itemid)) {
$urlItemid = acym_getVar('int', 'Itemid');
if (!empty($urlItemid)) {
$Itemid = $urlItemid;
}
}
$ctrl = acym_getVar('cmd', 'ctrl', acym_getVar('cmd', 'view', ''));
if (empty($ctrl)) {
acym_raiseError(404, acym_translation('ACYM_PAGE_NOT_FOUND'));
}
$controllerNamespace = 'AcyMailing\\FrontControllers\\'.ucfirst($ctrl).'Controller';
if (!class_exists($controllerNamespace)) {
acym_redirect(acym_rootURI());
return;
}
$controller = new $controllerNamespace();
if (empty($controller)) {
acym_redirect(acym_rootURI());
return;
}
acym_setVar('ctrl', $ctrl);
$task = acym_getVar('cmd', 'task', acym_getVar('cmd', 'layout', ''));
if (empty($task)) {
$task = acym_getVar('cmd', 'defaulttask', $controller->defaulttask);
}
acym_setVar('task', $task);
acym_setVar('layout', $task);
$controller->checkTaskFront($task);
}