T
T
T_y_l_e_r2016-11-05 17:38:35
linux
T_y_l_e_r, 2016-11-05 17:38:35

How to set up Codeigniter like this?

There is a site on codeigniter which lies on the server in the www/xxx/ folder and the name of this folder does not match any domain.
Many domains are registered in the configs of the engine itself, and each has its own base.
How to deploy the same structure? I don’t understand where routing is registered, that when entering a certain domain, its config is launched and the necessary files cling

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor, 2016-11-05
@egormmm

CI registers only the domain. This is done in application/config/config.php.
You don't need to set where your files are located on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question