Updated flow
This commit is contained in:
parent
78c0566028
commit
1542fb8c0f
|
@ -53,7 +53,6 @@ Config::setParam('domainVerification', false);
|
|||
// )
|
||||
// );
|
||||
|
||||
|
||||
App::init(function ($utopia, $request, $response, $console, $project, $user, $locale, $webhooks, $audits, $usage, $clients) {
|
||||
/** @var Utopia\Request $request */
|
||||
/** @var Utopia\Response $response */
|
||||
|
@ -452,8 +451,4 @@ include_once __DIR__ . '/controllers/shared/web.php';
|
|||
|
||||
foreach(Config::getParam('services', []) as $service) {
|
||||
include_once $service['controller'];
|
||||
}
|
||||
|
||||
$app = new App('Asia/Tel_Aviv');
|
||||
|
||||
$app->run(new Request(), new Response());
|
||||
}
|
|
@ -8,6 +8,10 @@
|
|||
* ― Rick Cook, The Wizardry Compiled
|
||||
*/
|
||||
|
||||
use Utopia\App;
|
||||
use Utopia\Request;
|
||||
use Utopia\Response;
|
||||
|
||||
error_reporting(0);
|
||||
ini_set('display_errors', 0);
|
||||
|
||||
|
@ -17,3 +21,7 @@ error_reporting(E_ALL);
|
|||
//trigger_error('hide errors in prod', E_USER_NOTICE);
|
||||
|
||||
include __DIR__ . '/../app/app.php';
|
||||
|
||||
$app = new App('Asia/Tel_Aviv');
|
||||
|
||||
$app->run(new Request(), new Response());
|
Loading…
Reference in a new issue