Where are the Kohana configuration files?

I just installed Kohana 3.0.4.2 and I successfully launched the index.php file. According to the documentation, the next step is to edit the configuration files in the application / config folder. I have a folder, but there are no files in it! I downloaded the package again to make sure it is not corrupted, but the same problem exists. Why is the application / config folder empty?

+3
source share
3 answers

You are probably looking at outdated (2. *) documentation. The only configuration file that needs to be changed after installation is application/bootstrap.php. There index.phpis some configuration in it, but you really should not touch this if you do not want to change the directories in which things are stored.

The configuration folder is used for the configuration files of your custom classes. Since you obviously do not have an empty project, the folder is empty. You can see their example by looking at system/configwhere the configuration files for some system classes are located.

At the moment, the best docs are the unofficial Kohana wiki page . There are also official documents , but they are in the process.

+5
source

Kohana 3 , .

, ( /modules ). ​​ , , , , .

, /modules/database/config/, , /config (Kohana autoload , , () .

+4

, , , ;)

Kohana 2.3.4

0

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


All Articles