#!/usr/bin/perl
package RvglobalsoftManager::Config;
##LICENSE##
use strict;
use Carp;
use warnings;
use Cwd;
use Cwd 'realpath';
use File::Basename qw(&basename &dirname);
use CGI ':standard';
use Data::Dumper;
use File::Basename;
use Socket;
use lib dirname(realpath(__FILE__));
use lib dirname(realpath(__FILE__)).'/lib';
use lib dirname(realpath(__FILE__)).'/modules';
#use lib dirname(realpath(__FILE__)).'/modules/RvglobalsoftManager';
use vars qw ($INSTANCE %CONSTANTS %GLOBALS $Config $CONF);
#use RvglobalsoftManager;
use RvglobalsoftManager::ProductConfig;
use RvglobalsoftManager::ResellerPFConfig;
use vars qw (@ISA @EXPORT_OK @EXPORT $PARAM $CONF $API);
require Exporter;
@ISA = qw(Exporter);
@EXPORT_OK = qw(
$OUTPUT $ERROR $CONF $VERSIONCACHE
);
@EXPORT = qw(getConfig);
{
sub getConfig {
#============ RVGlobalsoft Manager Config ==============#
$Config->{'content'} = {
'name' => 'RVGlobalsoft Manager',
'feedUrl' => 'http://rvglobalsoft.com',
'announcementUrl' => 'http://wirasak.cprelease.rvglobalsoft.net/feed.php',
'productList' => 'https://download.rvglobalsoft.com/prodouctlist.php',
};
$Config->{'msgDisplay'} = {
'changelogUrl' => "What's new",
'descriptionUrl' => 'Description',
'tutorialUrl' => 'Tutorial',
'manualUrl' => 'Manual',
'supportUrl' => 'Support',
};
$Config->{'debug'} = 0;
#============ Other Config ==============#
#============ rvskin group Product Config ===============#
$Config->{'product'}->{'rvskin'} = eval{ RvglobalsoftManager::ProductConfig->new('Rvskin') };
$Config->{'product'}->{'rvlogin'} = RvglobalsoftManager::ProductConfig->new('Rvlogin');
$Config->{'product'}->{'rvsubversion'} = RvglobalsoftManager::ProductConfig->new('Rvsubversion');
$Config->{'product'}->{'rvadmintools'} = RvglobalsoftManager::ProductConfig->new('Rvadmintools');
#============ rvsitebuilder group Product Config ===============#
$Config->{'product'}->{'rvsitebuilder'} = RvglobalsoftManager::ProductConfig->new('Rvsitebuilder');
#============ Reseller Platform Config ===============#
#Api Manager
$Config->{'apimanager'} = RvglobalsoftManager::ResellerPFConfig->new('ApiManager');
#Product
#$Config->{'resellerpf'}->{'rv2factor'} = RvglobalsoftManager::ResellerPFConfig->new('Rv2factor');
$Config->{'resellerpf'}->{'rvsslproduct'} = RvglobalsoftManager::ResellerPFConfig->new('Rvsslproduct');
$Config->{'resellerpf'}->{'rvlicense'} = RvglobalsoftManager::ResellerPFConfig->new('Rvlicense');
return $Config
}
}
1;
Copyright 2K16 - 2K18 Indonesian Hacker Rulez