package Conf::Config;
use strict;
use vars qw(%c);
%c = (
# XPanel 1.3.3 Global Variables
# Your Personal License Number
'serial_number' => 'XP0000-0000-0000-0000',
# Domain Name(s) separate by space ex.: (yourfreehost.com mydomain.com freehost.net)
'domains' => [qw(yourfreehost.com)],
# Sign-Up web site.
'web_site' => 'http://www.yourfreehost.com',
'cgi_bin' => 'http://www.yourfreehost.com/cgi-bin/xpanel',
# Set the MySQL Admin information.
# GRANT privileges to that user for update,delete,select
'mysql_admin_username' => 'root_xpanel',
'mysql_admin_password' => 'MySQL_PassWord!',
'mysql_hostname' => 'localhost',
'xpanel_database' => 'XPanel', # from XPanel.mysql file
# to change password for user 'xpanel' and user 'root_xpanel' use these commnad line in mysql:
# UPDATE mysql.user SET Password=PASSWORD('Your_New_Password') WHERE User='xpanel';
# UPDATE mysql.user SET Password=PASSWORD('Your_Second_New_Password') WHERE User='root_xpanel';
# FLUSH PRIVILEGES;
# Dedicated IP address only for XPanel users. You will add this address
# in Apache xp_httpd.conf NameVirtualHost 123.45.67.89
'virtualhost_ip' => '123.45.67.89',
# Your own Domain Name Servers
'name_servers' => {
'ns1' => 'ns1.yourfreehost.com',
'ns2' => 'ns2.yourfreehost.com',
'IP1' => '123.45.67.88',
'IP2' => '123.45.67.89'
},
# User/Group: The name (or #number) of the user/group to run httpd as.
# XPanel scripts will be executed only by this user
'User' => 'xpanel',
'Group' => 'xpanel',
# your Exim uid and gid
'exim_uid' => '93',
'exim_gid' => '93',
# Type the name of your organization or company.
'orgname' => 'XPanel, LLC.',
# Type an e-mail address that user can respond to.
'orgmail' => 'support@yourfreehost.com',
# Type the full path to the directory that contains all the files
# Must be in a directory NON accesible from Web!
# Do NOT add a slash at the end of the directory path.
'xpanel' => '/usr/local/xpanel',
# Type the full path to your templates directory.
# Do NOT add a slash at the end of the directory path.
'templates_dir' => '/usr/local/xpanel/templates',
# Templates name. (inside of your templates_dir)
'templates' => 'default',
# Type the full path to the directory where users sites will be created.
# That path you will add to configuration of Apache xp_httpd.conf file.
# Do NOT add a slash at the end of the directory path.
'vhosts' => '/home/vhosts',
# Allowed file extensions for upload, work with pure-ftpd only
'file_exts' => '\.txt|\.htm|\.html|\.tmpl|\.tpl|\.js|\.css|\.log|.cfg|\.conf|\.jpg|\.gif|\.png|\.swf|\.php|\.xml|\.ico|\.inc|\.ini|\.sql|\.pdf|\.dat|\.doc|\.xls|\.htaccess|\.ftpquota',
# Maximum size for ASCII and binary files in bytes allowed for upload, work with pure-ftpd only
'max_html_file_size' => '1048576', # in bytes, 1048576b=1Mb for these extensions: \.txt|\.htm|\.html|\.tmpl|\.tpl|\.js|\.php|\.xml|\.css|\.sql|\.cfg|\.inc
'max_images_file_size' => '2097152', # in bytes, 2097152b=2Mb
# 2checkout.com account
# comment line below if you don't have a 2CO account
'twoCheckout_account_number' => '61909',
# The email address associated with PayPal.
# comment line below if you don't have a PayPal account
'business_email' => 'paypal@xpanel.de',
# edit default currency from 2CO account "Prefers to Display in:"
# AUD,CAD,EUR,GBP,JPY,USD,NZD,CHF,HKD,SGD,SEK,DKK,PLN,NOK,HUF,CZK
'currency_code' => 'USD',
# $ € £ ¥
'currency_symbol' => '$',
# Edit hosting plans.
'plan' => {
'0' => {
'name' => 'Free Hosting',
'quota' => '100', # Disk space limit, MB
'dailyTrafficUsageLimit' => '500', # Daily http traffic limit, MB
'monthlyTrafficUsageLimit' => '3', # Monthly http traffic limit, GB
'mysqlDB' => '1', # Should new user get a MySQL DataBase?, '1' yes, '0' don't.
'emails' => '1', # e-mail address limit.
'mailboxQuota' => '5' # Mailbox Quota Limit Mb
},
'1' => {
'name' => 'Silver',
'quota' => '500',
'dailyTrafficUsageLimit' => '1000',
'monthlyTrafficUsageLimit' => '10',
'mysqlDB' => '1',
'emails' => '5',
'mailboxQuota' => '50', # Mailbox space limit, MB
'monthly' => '3.95', # Currency
'quarterly' => '10.95',
'yearly' => '39.95'
},
'2' => {
'name' => 'Gold',
'quota' => '1000',
'dailyTrafficUsageLimit' => '2000',
'monthlyTrafficUsageLimit' => '20',
'mysqlDB' => '1',
'emails' => '15',
'mailboxQuota' => '150',
'monthly' => '6.95',
'quarterly' => '19.95',
'yearly' => '69.95'
},
'3' => {
'name' => 'Platinum',
'quota' => '1500',
'dailyTrafficUsageLimit' => '3000',
'monthlyTrafficUsageLimit' => '30',
'mysqlDB' => '1',
'emails' => '25',
'mailboxQuota' => '250',
'monthly' => '9.95',
'quarterly' => '29.95',
'yearly' => '99.95'
}
},
# All new accounts must be approved by admin?, '0' don't, '1' yes.
'admin_approval' => '0',
# All new accounts with his own domain name must be approved by admin?, '0' don't, '1' yes.
'admin_approval_own_domain' => '0',
# How to block multi-signup?, '0' don't, '1' yes.
'check_cookies' => '0',
# The number of months from current date, after that user account will expire.
'expiry_months' => '120',
# Delete expired accounts or reset to free plan again?, '0' don't, '1' yes.
'delete_expired' => '0',
# delete unconfirmed accounts after couple hours, 1-3 hours is a good time
'unconfirm_time_out' => '2',
# A secret word for private key encryption.
'secret_word' => 'tango',
# Type the full path to your Mail program. example: '/usr/sbin/exim'
'mailprog' => '/usr/sbin/sendmail',
# Date command
'date_command' => '/bin/date',
# Edit question name.
'question' => {
'1' => 'Last 4 digits of your social security number?',
'2' => 'What is your mother\'s maiden name?',
'3' => 'What city were you born in?',
'4' => 'What is the first school you attended?',
'5' => 'Spouse\'s middle name?',
'6' => 'First child\'s middle name?'
},
# Default interface language
'default_lang' => 'en'
);
1;
# End.