PHP Classes

File: bootstrap.php

Recommend this page to a friend!
  Classes of António Lira Fernandes   Web Service PHP JSON   bootstrap.php   Download  
File: bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Web Service PHP JSON
API example that stores information in JSON files
Author: By
Last change:
Date: 17 days ago
Size: 239 bytes
 

Contents

Class file image Download
<?php

error_reporting
(E_ALL);
ini_set('display_errors', true);

//echo __DIR__;

require __DIR__ . '/autoload.php';

@
session_start();

try {

    include
__DIR__ . '/routes/routes.php';

} catch(\
Exception $e){
    echo
$e->getMessage();
}

?>