commit 4d0eed50f0b6fb154790994b8d43827ce1cf08a0 Author: Pavel Shevaev Date: Mon May 16 14:22:21 2022 +0300 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/error.inc.php b/error.inc.php new file mode 100644 index 0000000..9411236 --- /dev/null +++ b/error.inc.php @@ -0,0 +1,27 @@ +getMessage() . "\n"; + $stderr = fopen('php://stderr', 'a'); + fwrite($stderr, $msg); + fclose($stderr); + exit(1); +} + +set_error_handler("_gamectl_error_handler"); +set_exception_handler("_gamectl_exception_handler"); +