File: index.php

Recommend this page to a friend!
  Classes of Luis Toscano  >  Speed-Belt PHP Routing Class  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Speed-Belt PHP Routing Class
Route the handling of HTTP requests to classes
Author: By
Last change:
Date: 2 months ago
Size: 554 bytes
 

Contents

Class file image Download

<?php

ini_set
('display_errors',0);

// Start Benchmark
$init_time = microtime(true);

// load core classes
include 'core/model.class.php';
include
'core/kitfast.class.php';

// load extra resources.

// load routes file
include 'routes/routes.php';


// instantiate Kompat Object
$app = new KompatNs\Kompat($routes);

// Add Resources
$app->addResources('orm','orm');

// Run the App
$app->run();


// End Benchmark
$final_time = microtime(true);
$benchmark = $final_time - $init_time;

echo
'<!-- Tiempo de Karga KitFast '.$benchmark.' Segundos -->';


For more information send a message to info at phpclasses dot org.