0
I have multiple applications in codeigniter where I configured based on that tutorial.
Now my briefcase applications
is like this:
applications/gerencia/
applications/gerencia/config/
applications/gerencia/controllers/
applications/gerencia/libraries/
applications/gerencia/models/
applications/gerencia/views/
applications/loja/
applications/loja/config/
applications/loja/controllers/
applications/loja/libraries/
applications/loja/models/
applications/loja/views/
Both systems are functioning normally, I’ve changed the index.php
catching the $application_folder
, everything correctly, but a question arose.
How do I split some resources between applications?
Example, if I’m going to install this project on some server, I need to change the database connection in the folder applications/gerencia/config/database.php
and application/loja/config/database.php
. But the connection is the same, as I do to share this feature and others between applications in Codeigniter?
If vc uses Linux, it can be with a symbolic link to the database configuration file.
– ShutUpMagda