Merge branch 'pr/39' into dev

dev
GeekQu 7 years ago
commit 11353c5364

@ -25,21 +25,14 @@
"chen-see/chen-pay": "^1.0@dev",
"league/omnipay": "^3",
"lokielse/omnipay-alipay": "*",
"remotelyliving/php-dns": "3.0.6",
"charlottedunois/yasmin": "*",
"khanamiryan/qrcode-detector-decoder": "*",
"remotelyliving/php-dns": "3.0.6",
"symfony/yaml": "^4.4@dev"
},
"autoload": {
"classmap": [],
"psr-4": {
"App\\": "app/"
}
},
"config": {
"secure-http": false
},
"minimum-stability": "dev",
"require-dev": {
"khanamiryan/qrcode-detector-decoder": "*"
}
}
}

@ -36,7 +36,7 @@ $container['notAllowedHandler'] = static function ($c) {
};
};
if ($debug == false) {
if (DEBUG == false) {
$container['errorHandler'] = static function ($c) {
return static function ($request, $response, $exception) use ($c) {
return $response->withAddedHeader('Location', '/500');

Loading…
Cancel
Save