PHP Classes

File: bootstrap.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   bootstrap.php   Download  
File: bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of bootstrap.php
Date: 8 months ago
Size: 243 bytes
 

Contents

Class file image Download
<?php

// Get micro
require __DIR__ . '/app/__autoload.php';
require
__DIR__ . '/app/Kernel.php';

// Get kernel
$app = new \App\Application;

// Run framework
$app->run(new \Micro\Web\Request)->send();

// Kill application
$app->terminate();