Skip to content

Commit 7221ce5

Browse files
committed
remove duplicate output from error log
1 parent bcdd3bf commit 7221ce5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/init.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
use UnityWebPortal\lib\exceptions\SSOException;
1717

1818
register_shutdown_function(array("UnityWebPortal\lib\UnitySite", "shutdown"));
19+
// shutdown function logs errors, don't want duplicate output
20+
ini_set("log_errors", false);
1921

2022
session_start();
2123

0 commit comments

Comments
 (0)