Config File

The project configuration files can be found at the configs folder.

magrathea.conf

This is the main configuration file, and it's required.
You may find some structure just like this:

// generated by Magrathea at [...]

[general]
	use_environment = "default"
	time_zone = "America/Sao_Paulo"

[default]
	db_host = "127.0.0.1"
	db_name = "teste"
	db_user = "test_user"
	db_pass = "test_pass"
	site_path = "/Users/Sites/mywebsite/app"
	magrathea_path = "/Users/Sites/mywebsite/Magrathea"
	compress_js = "false"
	compress_css = "false"
	time_zone = "America/Sao_Paulo"
	testThis = "test_ok"

[another_config]
	db_host = "127.0.0.2"
	db_name = "production"
	db_user = "production_user"
	db_pass = "production_pass"
	site_path = "/etc/mywebsite/app"
	magrathea_path = "/etc/mywebsite/Magrathea"
	compress_js = "true"
	compress_css = "true"
	time_zone = "America/Sao_Paulo"
	testThis = "test_not_ok"
			

If you can see the first comment line, it means that the file was generated by Magrathea system.
It's possible to edit this config file inside admin.php, so you can see the last time it was edited.

The general section is an internal control of the Magrathea config file.
After that, you can have as many different sections as you want. This will allow you to create a section for development, a secion for homolog, a section for production, a section for your mother, your dog etc.
You will be able to define the environment that will be used in the use_environment option inside the general section.

magrathea_objects.conf

This file should not be editted manually! It's a configuration file for objects management from admin.php.
magrathea_objects.conf will save the data for your objects and relations. Some of it structure may be copied if you are reusing some parts of the system, but you souldn't have to touch it. Really.

Your own config file

You can also create your own configuration file and ask Magrathea to read its data for you.
More about it you can find in MagratheaConfig class.