2006-12-18 12:32:33 +01:00
|
|
|
package My::Package;
|
2006-12-19 21:55:23 +01:00
|
|
|
use Lemonldap::NG::Handler::SharedConf;
|
|
|
|
@ISA = qw(Lemonldap::NG::Handler::SharedConf);
|
2006-12-18 12:32:33 +01:00
|
|
|
|
|
|
|
__PACKAGE__->init ( {
|
|
|
|
localStorage => "Cache::FileCache",
|
|
|
|
localStorageOptions => {
|
|
|
|
'namespace' => 'MyNamespace',
|
|
|
|
'default_expires_in' => 600,
|
2007-05-11 09:52:19 +02:00
|
|
|
'directory_umask' => '007',
|
|
|
|
'cache_root' => '/tmp',
|
|
|
|
'cache_depth' => 5,
|
2006-12-18 12:32:33 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
configStorage => {
|
|
|
|
type => 'File',
|
2007-04-29 14:07:20 +02:00
|
|
|
dirName => '__CONFDIR__',
|
2006-12-18 12:32:33 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
https => 0,
|
2008-05-09 22:50:27 +02:00
|
|
|
# Uncomment this to activate status module
|
|
|
|
# status => 1,
|
2008-11-17 15:02:50 +01:00
|
|
|
|
|
|
|
# CUSTOM FUNCTION : if you want to create customFunctions in rules, declare them here
|
|
|
|
#customFunctions => 'function1 function2',
|
2006-12-18 12:32:33 +01:00
|
|
|
} );
|
2008-05-09 22:50:27 +02:00
|
|
|
1;
|