<?php
// Path constants
define('DS', DIRECTORY_SEPARATOR);
define('PS', PATH_SEPARATOR);
define('BP', dirname(__FILE__));

// Display errors
ini_set('display_errors', 1);

// Set error reporting level
error_reporting(E_ALL | E_STRICT);

// Add include paths
$paths = array();
$paths[] = BP.DS.'app';

$appPath = implode(PS, $paths);
set_include_path($appPath . PS . get_include_path());

// Initialize and run the app
include 'Core/Bootstrap.php';
$bootstrap = new \Webaholicson\Minimvc\Core\Bootstrap();
$app = $bootstrap->init();
$app->run();

<?php
// Path constants
define('DS', DIRECTORY_SEPARATOR);
define('PS', PATH_SEPARATOR);
define('BP', dirname(__FILE__));

// Display errors
ini_set('display_errors', 1);

// Set error reporting level
error_reporting(E_ALL | E_STRICT);

// Add include paths
$paths = array();
$paths[] = BP.DS.'app';

$appPath = implode(PS, $paths);
set_include_path($appPath . PS . get_include_path());

// Initialize and run the app
include 'Core/Services.php';
include 'Core/Bootstrap.php';
$manager = new \Webaholicson\Minimvc\Core\Services();
$bootstrap = new \Webaholicson\Minimvc\Core\Bootstrap($manager);
$app = $bootstrap->init();
$app->run();

Include services and pass to bootstrapper
Include services and pass to bootstrapper
