Use one time library instead of two time |
[eluser]Aken[/eluser]
Since "image_upload_lib" is not a standard CI library, can't really say for sure what's correct for it specifically. But that's pretty redundant code - you should perform the upload once, then check if it was successful. The CI File Upload library has an example of how it handles uploads. |
Messages In This Thread |
Use one time library instead of two time - by El Forum - 08-04-2012, 03:44 PM
Use one time library instead of two time - by El Forum - 08-04-2012, 04:18 PM
|