Welcome Guest, Not a member yet? Register   Sign In
Upload with multiple upload.php config files
#1

[eluser]Ki[/eluser]
Has anybody developed a solution for having multiple config arrays for file upload?
I have image upload and file upload instances on the website and each one uses its own configuration and file checking. I currently have defined each config within My_Upload class and use initialize(), but I was hoping to move these configs out to the config folder to have everything neatly organized in one place. This way, I do not have to search through the library to increase file size limit or add extension.

Anybody has a good solution for managing different upload configurations that reside in the upload.php config file?




Theme © iAndrew 2016 - Forum software by © MyBB