No subject


Thu Mar 10 16:39:45 CET 2011


The config file is defined as:
===
  sub conffile { path(setting('confdir') || setting('appdir'), 'config.yml') }
===
And 'appdir' can be changed with DANCER_APPDIR environment variable.

	
But the environment-specific file is defined as:
===
sub environment_file {
    my $env = setting('environment');
    return path(setting('appdir'), 'environments', "$env.yml");
}
===
And "setting{'environment'}" can't be set using unix environment variables (at least I couldn't find any reference to that in the code).

-gordon


More information about the Dancer-users mailing list