Use of undefined constant DS - assumed 'DS'
Posted: 11 Jan 2015, 09:26
Hi Jan,
I post this in PG forum, however, this seems to affect other extensions as well.
I get a strict warning for the DS constant:
This leads to some follow-up errors, e.g. linking an image in the opengraph plugin.
DS has been marked deprecated in J3 and was removed in J3.2 since PHP can handle the separators of all OS.
Can you please consider this in future developments?
Dirty: redefine the DS constant. Better: new code for J3.2+.
Thanks in advance!
I post this in PG forum, however, this seems to affect other extensions as well.
I get a strict warning for the DS constant:
Code: Select all
Use of undefined constant DS - assumed 'DS'DS has been marked deprecated in J3 and was removed in J3.2 since PHP can handle the separators of all OS.
Can you please consider this in future developments?
Dirty: redefine the DS constant. Better: new code for J3.2+.
Thanks in advance!