2019-05-09 18:54:39 +12:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* “Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
|
|
|
|
* and the Universe trying to produce bigger and better idiots.
|
|
|
|
* So far, the Universe is winning.”
|
|
|
|
*
|
|
|
|
* ― Rick Cook, The Wizardry Compiled
|
|
|
|
*/
|
|
|
|
|
2020-07-01 17:45:47 +12:00
|
|
|
use Utopia\App;
|
|
|
|
use Utopia\Request;
|
|
|
|
use Utopia\Response;
|
|
|
|
|
2020-03-01 19:33:19 +13:00
|
|
|
error_reporting(0);
|
|
|
|
ini_set('display_errors', 0);
|
|
|
|
|
2020-06-29 08:45:36 +12:00
|
|
|
ini_set('display_errors', 1);
|
|
|
|
ini_set('display_startup_errors', 1);
|
|
|
|
error_reporting(E_ALL);
|
2020-07-01 03:46:42 +12:00
|
|
|
//trigger_error('hide errors in prod', E_USER_NOTICE);
|
2019-08-21 03:43:01 +12:00
|
|
|
|
2020-06-25 23:31:27 +12:00
|
|
|
include __DIR__ . '/../app/app.php';
|
2020-07-01 17:45:47 +12:00
|
|
|
|
|
|
|
$app = new App('Asia/Tel_Aviv');
|
|
|
|
|
|
|
|
$app->run(new Request(), new Response());
|