feat(php): disable error reporting

hide errors from visibility on web page
main
steven 2020-12-22 10:18:46 -05:00
parent 734d883d3c
commit 73f20c8830
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@
</style>
<?php
error_reporting(0);
function getByteString($bytes) {
$symbol = array('B', 'KB', 'MB', 'GB', 'TB');
$exp = ($bytes ? floor(log($bytes)/log(1024)) : 0);