|
|
@ -2,7 +2,7 @@ |
|
|
|
use PHP::Serialization qw(serialize unserialize); |
|
|
|
use PHP::Serialization qw(serialize unserialize); |
|
|
|
my $data; |
|
|
|
my $data; |
|
|
|
|
|
|
|
|
|
|
|
if ((($pydio->prop('ManualConf') || 'disabled') eq 'enabled') && open CONF, "/var/lib/pydio/plugins/conf.serial/plugins_configs.ser"){ |
|
|
|
if ((($pydio{'ManualConf'} || 'disabled') eq 'enabled') && open CONF, "/var/lib/pydio/plugins/conf.serial/plugins_configs.ser"){ |
|
|
|
$data = <CONF>; |
|
|
|
$data = <CONF>; |
|
|
|
close CONF; |
|
|
|
close CONF; |
|
|
|
$data = unserialize ($data); |
|
|
|
$data = unserialize ($data); |
|
|
@ -78,5 +78,4 @@ $data = serialize($data); |
|
|
|
# manually |
|
|
|
# manually |
|
|
|
$data =~ s/s:8:"__true__";/b:1;/g; |
|
|
|
$data =~ s/s:8:"__true__";/b:1;/g; |
|
|
|
$OUT = $data; |
|
|
|
$OUT = $data; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |