PHP Classes

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 years ago
Size: 554 bytes


Class file image Download



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

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

// load extra resources.

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

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

// Add Resources

// Run the App

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

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