PHP Classes
elePHPant
Icontem

File: demos/using-config.php

Recommend this page to a friend!
  Classes of Francesco Danti  >  ATK4 FastRoute  >  demos/using-config.php  >  Download  
File: demos/using-config.php
Role: Example script
Content type: text/plain
Description: Example script
Class: ATK4 FastRoute
Process HTTP requests using configured routes
Author: By
Last change:
Date: 2 months ago
Size: 214 bytes
 

 

Contents

Class file image Download
<?php

include __DIR__.'/bootstrap.php';

$router = new \Abbadon1334\ATKFastRoute\Router(new \atk4\ui\App(['always_run' => false]));
$router->loadRoutes(__DIR__.'/config/routes.php', 'php-inline');
$router->run();