Hello Ray, On Thursday, December 12, 2002, Ray Todd Stevens wrote... >> It could end up setting sqm_topdir() to a filename instead of a >> folder, which would result in the config files not being opened, >> and causing further errors when a login fails. The only reason I >> see that function exists is in the logout error message, which >> displays an error message, and the company logos (if changed). The >> quote on the is_dir from php is: > > I am not sure how it would set the value to a file name??? But I > will look at the code again.
My apologies, I totally miss-read part of that code, for some reason I was thinking it said is_file, I think I need my eyes checking ;) >> ,----- [ http://www.php.net/manual/en/function.is-dir.php ] >> | Returns TRUE if the filename exists and is a directory. If filename >> | is a relative filename, it will be checked relative to the current >> | working directory. >> `----- >> This suggests that if the file doesn't exist, or it is not a folder, >> it returns false. > This does not seem to be how it works. It appears to return an error > if the file does not exist. It might be enviornment based I don't > know. We be glad to check anything you have in mind. Yes, that is something I have noticed... php's differences in documentation and real behavior. We've noticed this on sessions as well. I'll commit your code, thanks for the suggestion :) -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
