[geeklog-devel] Interesting bug - path collision

Michael Jervis mjervis at gmail.com
Wed Sep 3 02:37:47 EDT 2008


I'm investigating this issue:
http://project.geeklog.net/tracking/view.php?id=726

Which I can't recreate. However. I'm using Apache on Windows. On
Windows Apache is not case sensitive.

When you approve a user, it sends an email to that user. This is done
from admin/moderate.php, calling through to lib-user.php's
USER_createAndSendEmail. Through to lib-common.php's COM_mail
function. This does:

    include_once( 'Mail.php' );
    include_once( 'Mail/RFC822.php' );

Our current 'path' at this point is /admin. Which contains mail.php.
Which is included instead of Pear's Mail.php. And then crashes.

Any suggestions how this can be resolved?

-- 
Michael Jervis
mjervis at gmail.com
504B03041400000008008F846431E3543A820800000006000000060000007765
62676F642B4F4D4ACF4F0100504B010214001400000008008F846431E3543A82
0800000006000000060000000000000000002000000000000000776562676F64
504B05060000000001000100340000002C0000000000



More information about the geeklog-devel mailing list