1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Making a better installation

This commit is contained in:
daniel 2017-04-06 11:23:00 -03:00
parent a3daa52f02
commit 7a4fe934ba

View file

@ -81,7 +81,7 @@ function check_upload_max_filesize() {
//memory_limit = 100M
function check_memory_limit() {
$max_size = parse_size(ini_get('memory_limit'));
$recomended_size = parse_size('100M');
$recomended_size = parse_size('256M');
if ($recomended_size > $max_size) {
return false;
} else {
@ -354,7 +354,7 @@ function check_memory_limit() {
?>
<div class="alert alert-danger">
<span class="glyphicon glyphicon-unchecked"></span>
<strong>Your memory_limit is <?php echo ini_get('memory_limit'); ?>, it must be at least 100M</strong>
<strong>Your memory_limit is <?php echo ini_get('memory_limit'); ?>, it must be at least 256M</strong>
<details>
Edit the <code>php.ini</code> file