Cache::Memcached was required / should be optional
This commit is contained in:
parent
4bf9bb362d
commit
f99b5dab44
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ sub new {
|
|||
my $cache;
|
||||
my $class = shift;
|
||||
if($session{config}{memcached_servers}) {
|
||||
use WebGUI::Cache::Memcached;
|
||||
require WebGUI::Cache::Memcached;
|
||||
return WebGUI::Cache::Memcached->new(@_);
|
||||
} else {
|
||||
return WebGUI::Cache::FileCache->new(@_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue