<?php
/**
* Javamon's JFramework
*
* PHP ??? ?? ???????
*
* Created on 2017. 5.
* @package Javamon\Jframe
* @category Index
* @license http://opensource.org/licenses/MIT
* @author javamon <javamon1174@gmail.com>
* @link http://javamon.be/Jframe
* @link https://github.com/javamon1174/jframe
* @version 0.0.1
*/
namespace Javamon\Jframe;
use \Javamon\Jframe\Core\Route as Route;
require_once __DIR__.'/vendor/autoload.php';
//Please set the basic environment. => application/core/Config.php
// exception sample
// $email = "power@.com";
// try {
// //check if
// if(filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE) {
// //throw exception if email is not valid
// throw new CustomException($email);
// }
// }
//
// catch (customException $e) {
// //display custom message
// echo $e->errorMessage();
// }
//
// return $this->setupLib();
/**
* ??????? ???? HTTP ?? ??
* Forwarding HTTP requests to the jframework route.
*/
$route = Route::getRequest();
|