PHP Classes

File: test/Bootstrap.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis PHP CMS Engine   test/Bootstrap.php   Download  
File: test/Bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis PHP CMS Engine
Engine to manage the content page data
Author: By
Last change:
Date: 2 years ago
Size: 321 bytes
 

Contents

Class file image Download
<?php
use MelisCore\ServiceManagerGrabber;

error_reporting(E_ALL | E_STRICT);

$cwd = __DIR__;
chdir(dirname(__DIR__));

// Assume we use composer
$loader = require_once '../../../vendor/autoload.php';
$loader->add("MelisEngineTest\\", $cwd);
$loader->register();

ServiceManagerGrabber::setServiceConfig();
ob_start();