Advanced Module Config

edited January 2014 in Modules
I've created an advanced module to manage photo galleries called "gallerymanager". In the module's config folder I have a "gallerymanager.php" file with nav configuration and other settings.

$config['gallerymanager']['path'] = '/assets/gallerymanager';
$config['gallerymanager']['nav_path'] = 'media/gallerymanager';

How do I access these values in the controller?

I tried: die("Path:".$this->config('path'));

fail....

Comments

  • edited 4:08AM
    $path = $this->fuel->gallerymanager->config('path');
Sign In or Register to comment.