sharing library between Multiple Applications with one CodeIgniter Installation |
You shouldn't put anything in the `system` folders. Leave that for CodeIgniter otherwise your changes will get overwritten whenever you upgrade the CI core.
Instead, for common libraries, create a new folder, and add that folder as a Package in both of your applications. You can have this path autoloaded by adding it to the autoload.php config file. By default it will load APPPATH/third_party but you can always replace that if you don't use it. Code: $autoload['packages'] = array(FCPATH.'common'); |
Messages In This Thread |
sharing library between Multiple Applications with one CodeIgniter Installation - by kendysond - 09-04-2015, 04:42 AM
RE: sharing library between Multiple Applications with one CodeIgniter Installation - by ivantcholakov - 09-04-2015, 06:48 AM
RE: sharing library between Multiple Applications with one CodeIgniter Installation - by kilishan - 09-04-2015, 07:10 AM
RE: sharing library between Multiple Applications with one CodeIgniter Installation - by kendysond - 09-04-2015, 04:52 PM
RE: sharing library between Multiple Applications with one CodeIgniter Installation - by kilishan - 09-04-2015, 07:40 PM
RE: sharing library between Multiple Applications with one CodeIgniter Installation - by kendysond - 09-19-2015, 01:21 AM
|