[dev] patch spamd_ftp.php
Jan Schneider
jan at horde.org
Mon Nov 1 11:56:08 PST 2004
Zitat von tim <email at teletechnics.com>:
> Attached is a patch for the spamd_ftp.php driver of the sam module.
>
> 2 issues.
>
> logging in and trying to read as ftp_user does not give you rights to
> access the system defaults file located in another location on the
> server. So changed the method of reading the file.
Uhm, this is a FTP driver. fopen() is not an appropriate method for such a
driver.
> if user_prefs does not exist in users home directory, the script
> fails, and thus does not even default back to the system default
> values. So instead of returning with error, $content of user_prefs file
> is made empty.
>
>
> --
> Best regards,
> tim
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list