Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Get phalcon config

How do i get my config virables from the config.php file, intro my controller?



33.6k
Accepted
answer

You can register the configuration as a service and then access it via the service locator:

$di->set('config', $config);

Thank you so much :-)!