CodeIgniter Forums
HMVC in CodeIgniter custom plugin folder creation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: HMVC in CodeIgniter custom plugin folder creation (/showthread.php?tid=69605)



HMVC in CodeIgniter custom plugin folder creation - saravanakumarrs84 - 12-21-2017




RE: HMVC in CodeIgniter custom plugin folder creation - InsiteFX - 12-21-2017

1) Create a new plugins folder under the CodeIgniter ./application folder

2) When you install new plugins give them there own folder under the plugins folder.

Keep track of the installed plugins and save it to the database.


RE: HMVC in CodeIgniter custom plugin folder creation - visualsol - 12-22-2017




RE: HMVC in CodeIgniter custom plugin folder creation - XtreemDeveloper - 12-23-2017

Create a new plugins folder using php code 
$directory = './assets/uploads/blogs'; 
@mkdir($directory, 0777); 
@chmod($directory,  0777);  

And when you install plugin than you can use sub directory of plugin.