PHP Classes

File: test/Bootstrap.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis PHP CMS Analytics by Page   test/Bootstrap.php   Download  
File: test/Bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis PHP CMS Analytics by Page
Melis CMS module to provide page access statistics
Author: By
Last change:
Date: 1 year ago
Size: 331 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("MelisCmsPageAnalyticsTest\\", $cwd);
$loader->register();

ServiceManagerGrabber::setServiceConfig();
ob_start();