Hello!
I've just posted an issue to JIRA (http://framework.zend.com/issues/browse/ZF-4034) regarding a minor inconvenience in Zend_File_Transfer_Adapter_Abstract.
The way getDestination() is currently set up means that it will always fail if the temporary directory cannot be resolved, even if the destination of the requested file has already been explicitly set via setDestination().
This is a relatively minor problem given that most users' scripts won't have any difficulty finding the system temporary directory...but mine is having a heck of a time with that, and I figured it wouldn't take too much to fix it in the class so that situations like mine don't cause any future headaches.
And, as always, please let me know if you think I'm off my rocker :) I could easily be reading the code wrong.
Thanks!
Adam
I've just posted an issue to JIRA (http://framework.zend.com/issues/browse/ZF-4034) regarding a minor inconvenience in Zend_File_Transfer_Adapter_Abstract.
The way getDestination() is currently set up means that it will always fail if the temporary directory cannot be resolved, even if the destination of the requested file has already been explicitly set via setDestination().
This is a relatively minor problem given that most users' scripts won't have any difficulty finding the system temporary directory...but mine is having a heck of a time with that, and I figured it wouldn't take too much to fix it in the class so that situations like mine don't cause any future headaches.
And, as always, please let me know if you think I'm off my rocker :) I could easily be reading the code wrong.
Thanks!
Adam
没有评论:
发表评论