MIT-Mobile-Web
MIT-Mobile-Web copied to clipboard
Couple of syntax fixes and a cache fix
Hey Dave,
I'm working with the development version of Mobile Web OSP and have run into some minor issues. These three commits fix the following:
- There's a minor syntax issue with the iOS detection, introduced in bdc47ff73324f7f812f0dc35549bcc6f9930d446.
- The LDAP query building for single terms tries to operate on an array when it actually wants a word.
- Not all systems are set up to have a trailing slash on the temporary directory. The RSS cache breaks (and throws warnings) in this situation, so it's safer to ensure there is a trailing slash.
If you have any questions, please let me know! I'll probably have a few more changes soon.
Nice. Thanks much for the fixes. I'll pull these in tomorrow and will leave the issue open until then.
Hey Dave,
I fixed some additional PHP notices, mostly with using an undefined constant 'nil' where 'NULL' was desired.