appwrite/public/index.php

28 lines
661 B
PHP
Raw Normal View History

2019-05-09 06:54:39 +00: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-07 04:40:18 +00:00
use Appwrite\Utopia\Response;
2020-07-01 05:45:47 +00:00
use Utopia\App;
use Utopia\Request;
2020-03-01 06:33:19 +00:00
error_reporting(0);
ini_set('display_errors', 0);
2020-06-28 20:45:36 +00:00
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
2020-06-30 15:46:42 +00:00
//trigger_error('hide errors in prod', E_USER_NOTICE);
2019-08-20 15:43:01 +00:00
2020-06-25 11:31:27 +00:00
include __DIR__ . '/../app/app.php';
2020-07-01 05:45:47 +00:00
$app = new App('Asia/Tel_Aviv');
$app->run(new Request(), new Response());