config cache issues
By default the configuration cached by the mod_perl2 instance. You can disable cache by setting cache/config=0. You should disable cache only if you have multiple calcms instances running on the same mod_perl2 server with different configuration. The Location of the configuration will be determined by config module now.
This commit is contained in:
@@ -22,7 +22,7 @@ binmode STDOUT, ":encoding(UTF-8)";
|
||||
if ( $0 =~ /cal.*?\.cgi$/ ) {
|
||||
( my $cgi, my $params, my $error ) = params::get($r);
|
||||
|
||||
my $config = config::get('config/config.cgi');
|
||||
my $config = config::getFromScriptLocation();
|
||||
my $debug = $config->{system}->{debug};
|
||||
|
||||
my $request = {
|
||||
|
||||
Reference in New Issue
Block a user