1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Fix for file_size_decode() in PHP7.

This commit is contained in:
Cameron
2018-08-20 13:41:21 -07:00
parent 34a4f0ade8
commit 1f69d7cd0a
2 changed files with 29 additions and 23 deletions

View File

@@ -1692,19 +1692,19 @@ $text .= "
<table class='table table-striped table-bordered'>
<tr><th>".LAN_TYPE."</th><th>".UPLLAN_33."</th>
";
$fl = e107::getFile();
$data = $fl->getFiletypeLimits();
$data = $fl->getAllowedFileTypes();
foreach($data as $k=>$v)
{
$text .= "<tr><td>".$k."</td>
<td>".$fl->file_size_encode($v)."</td>
</tr>";
}
// $text .= print_a($data,true);
// $text .= print_a($data,true);