Skip to content
Permalink
Browse files

Fix: ini_set allowed shown as red

Try to set memory_limit with its same value, is a non invasive method to check if ini_set is possible. Dont see a reason to config a fully setup session.
  • Loading branch information...
Sioweb committed Feb 5, 2019
1 parent e57f394 commit 27d36a3a544ea490fc512c98223a084c0a8094f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/Core/SystemRequirements.php
@@ -741,7 +741,7 @@ public function checkGdInfo()
*/
public function checkIniSet()
{
return (@ini_set('session.name', 'sid') !== false) ? 2 : 0;
return (@ini_set('memory_limit', @ini_get('memory_limit')) !== false) ? 2 : 0;
}
/**

0 comments on commit 27d36a3

Please sign in to comment.
You can’t perform that action at this time.