Hoa central
.autoload.atoum.php
Go to the documentation of this file.
1 <?php
2 
4  dirname(__DIR__) . DIRECTORY_SEPARATOR .
5  '..' . DIRECTORY_SEPARATOR .
6  'autoload.php';
7 
8 if (file_exists($composer)) {
9  require_once $composer;
10 }
11 else {
12  require_once
13  dirname(__DIR__) . DIRECTORY_SEPARATOR .
14  'Core' . DIRECTORY_SEPARATOR .
15  'Core.php';
16 }
17 
18 if (isset($_SERVER['HOA_ATOUM_PRASPEL_EXTENSION'])) {
19  Hoa\Core::getInstance()->getParameters()->setParameter(
20  'namespace.prefix.Atoum',
21  $_SERVER['HOA_ATOUM_PRASPEL_EXTENSION']
22  );
23 }
$composer
static getInstance()
Definition: Core.php:193