Glob_Brace workaround modification.php
Posted: Sat Jul 16, 2016 8:04 pm
OpenCart 2.2.x.x
Since using opencart (few weeks..) everything works fine, except for the fact that my webserver doesn't support glob_brace.
I've read a lot about the problem, but can't find a workaround.
one of the error is in the image manager, but that one is solved.
The other one is when refreshing my modifications. It show's a fault page.
So i can't install a bunch of extensions, I think a lot of people are helped when there is a solution.
I am aware that i am using a Solaris webserver (strato), that doesn't support GLOB_BRACE...
I would be very thankful !
Since using opencart (few weeks..) everything works fine, except for the fact that my webserver doesn't support glob_brace.
I've read a lot about the problem, but can't find a workaround.
one of the error is in the image manager, but that one is solved.
The other one is when refreshing my modifications. It show's a fault page.
Code: Select all
Notice: Use of undefined constant GLOB_BRACE - assumed 'GLOB_BRACE' in /mnt/web015/b3/59/57275859/htdocs/admin/controller/extension/modification.php on line 179Warning: glob() expects parameter 2 to be long, string given in /mnt/web015/b3/59/57275859/htdocs/admin/controller/extension/modification.php on line 179Warning: Cannot modify header information - headers already sent by (output started at /mnt/web015/b3/59/57275859/htdocs/admin/controller/startup/error.php:34) in /mnt/web015/b3/59/57275859/htdocs/system/library/response.php on line 12
I am aware that i am using a Solaris webserver (strato), that doesn't support GLOB_BRACE...

I would be very thankful !