CodeIgniter: multiple applications, how to share resources?

I am trying to create a website with multiple applications using CodeIgniter. Separate applications should be able to use model methods, helpers, libraries, etc. The documentation on the CI site (see http://codeigniter.com/wiki/Multiple_Applications/ ) seems to suggest that resources should not be shared between applications.

Does anyone know what I need to do to make this work?

+3
source share
1 answer

An approach that I would specifically recommend for the resources you listed uses the package path of the package at the same level as your application folders.

" "

"../common" , , .

, .

+3

Source: https://habr.com/ru/post/1795114/


All Articles