PHP Classes

File: test/Bootstrap.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   test/Bootstrap.php   Download  
File: test/Bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 318 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("MelisCmsTest\\", $cwd);
$loader->register();

ServiceManagerGrabber::setServiceConfig();
ob_start();