2014-08-21 04:53:45 |
Aaron Wells |
description |
There are a few places which do this:
if (strpos($jsfile, 'http://' === false)) { ...
when they should do this:
if (stripos($jsfile, 'http://' === false) && stripos($jsfile, 'http://' === false)) { ...
the problem only reveals itself on https sites where the wwwroot is in a subdirectory such as https://mysite/mahara/.
The result is that the URL to include files is wrong so the files aren't loaded. |
There are a few places which do this:
if (strpos($jsfile, 'http://' === false)) { ...
when they should do this:
if (stripos($jsfile, 'http://' === false) && stripos($jsfile, 'https://' === false)) { ...
the problem only reveals itself on https sites where the wwwroot is in a subdirectory such as https://mysite/mahara/.
The result is that the URL to include files is wrong so the files aren't loaded. |
|