smeserver-ajaxplorer/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All
2013-07-03 16:57:09 +02:00

31 lines
1.2 KiB
Plaintext

{
use PHP::Serialization qw(serialize);
my $data;
$data->{'core.uploader'}->{'UPLOAD_MAX_SIZE'} = "0";
$data->{'core.uploader'}->{'UPLOAD_MAX_NUMBER'} = "50";
$data->{'gui.ajax'}->{'CUSTOM_WELCOME_MESSAGE'} = $ajaxplorer{'WelcomMessage'} || 'Ajaxplorer';
$data->{'core.ajaxplorer'}->{'WEBMASTER_EMAIL'} = 'admin@'.$DomainName;
$data->{'core.ajaxplorer'}->{'AJXP_TMP_DIR'} = '/var/lib/ajaxplorer/tmp';
$data->{'core.ajaxplorer'}->{'DEFAULT_LANGUAGE'} = $ajaxplorer{'DefaultLanguage'} || 'en';
$data->{'core.ajaxplorer'}->{'APPLICATION_TITLE'} = $ajaxplorer{'Title'} || 'Ajaxplorer';
if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled'){
$data->{'core.ajaxplorer'}->{'PUBLIC_DOWNLOAD_FOLDER'} = '/var/lib/ajaxplorer/public';
$data->{'core.ajaxplorer'}->{'PUBLIC_DOWNLOAD_URL'} = $ajaxplorer{'PublicDownloadUrl'} || "http://$SystemName.$DomainName/ajxppub";
}
$data->{'core.log'} = {
'UNIQUE_PLUGIN_INSTANCE' => {
'LOG_FILE_NAME' => 'log_date(\'m-d-y\').txt',
'LOG_PATH' => '/var/log/ajaxplorer/',
'instance_name' => 'log.text',
'group_switch_value' => 'log.text',
'LOG_CHMOD' => 770
}
};
$OUT = serialize($data);
}