I was here and eyeballed it for typos, etc.
Not sure I understand functionality enough to comment on that. One thing I could point to is:
+function check_file($fn) 70 +{ 71 + if (is_file($fn) or is_link($fn)) {
if (file_exists($fn) and check_file($fn)) { // Requested download is file
Symlink is assumed to be a file, but it can point to a dir too.
« Back to merge proposal
I was here and eyeballed it for typos, etc.
Not sure I understand functionality enough to comment on that. One thing I could point to is:
+function check_file($fn)
70 +{
71 + if (is_file($fn) or is_link($fn)) {
if (file_exists($fn) and check_file($fn)) { // Requested download is file
Symlink is assumed to be a file, but it can point to a dir too.