public static function getInstance() { if (self::$instance === false) { self::$instance = new ActionsAdminParseur(); } return self::$instance; }
<?php require_once "auth.php"; require_once "../fonctions/divers.php"; if (!est_autorise("acces_configuration")) { exit; } $request = \Symfony\Component\HttpFoundation\Request::createFromGlobals(); ActionsAdminParseur::getInstance()->action($request->get("action")); $adm = new AdmParseur(); $adm->prepare_page(); ?> <!DOCTYPE html> <html lang="fr"> <head> <?php require_once "title.php"; ?> </head> <body> <?php $menu = "configuration"; $breadcrumbs = Breadcrumb::getInstance()->getConfigurationList(trad('Gestion_cache', 'admin')); require_once "entete.php"; ?> <div class="row-fluid"> <div class="span12"> <h3><?php echo trad('CONFIGURATION', 'admin'); ?> </h3>