1
0
Fork 0
mirror of synced 2024-06-28 11:10:46 +12:00
appwrite/public/index.php
2020-07-29 10:29:34 +03:00

28 lines
677 B
PHP

<?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
*/
use Appwrite\Utopia\Response;
use Utopia\App;
use Utopia\Request;
error_reporting(0);
ini_set('display_errors', 0);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
//trigger_error('hide errors in prod', E_USER_NOTICE);
include __DIR__ . '/../app/controllers/general.php';
$app = new App('Asia/Tel_Aviv');
$app->run(new Request(), new Response());