Upload with multiple upload.php config files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Upload with multiple upload.php config files (/showthread.php?tid=36895) |
Upload with multiple upload.php config files - El Forum - 12-19-2010 [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? |