JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 6 forks source link

Fix error when memory_limit is set to -1 #76

Closed MrMusic closed 1 year ago

MrMusic commented 1 year ago

The function checkMemory checks the value of memory_limit which is set in php.ini. Some hosters have set a value of -1 here. This 'unusual' value causes the check to fail. This is a redo from https://github.com/JoomGalleryfriends/JoomGallery/pull/123

Elfangor93 commented 1 year ago

Code changes look good to me.

Elfangor93 commented 1 year ago

I tested this successfully. Thank you very much.