package Conf::Config;

use strict;
use vars qw(%c);
%c = (

  # XPanel 2.0.0 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
'xpanel_database' => 'XPanel', # from XPanel.mysql file
'mysql_host' => 'localhost',
'mysql_port' => 3306,
'mysql_username' => 'xpanel_root',
'mysql_password' => 'MySQL_PassWord',
  # to change password for user 'xpanel' and user 'xpanel_root' 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='xpanel_root';
  # FLUSH PRIVILEGES;

  # Dedicated IP address only for XPanel users. You will add this address
  # in Apache httpd_xpanel.conf NameVirtualHost 123.45.67.89
'host_address' => '123.45.67.89',
'mail_exchanger' => '123.45.67.89',
'localhost' => '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'
},

  # If XPanel run on multiple servers only one will be main server '0' no, '1' yes.
'main_server' => 1,

  # 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',

  # User exim uid and gid
'exim_uid' => 93,
'mail_gid' => 12,
 
  # Type the name of your organization or company.
'orgname' => 'XPanel Group',

  # 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 httpd_xpanel.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 code and symbol
  # currency code => AUD CAD EUR GBP JPY USD NZD CHF HKD SGD SEK DKK PLN NOK HUF CZK
  # currency symbol => $ € £ ¥ 
'currency' => {
	'code' => 'USD',
	'symbol' => '$'
},

  # If set 1 customers will may choose free hosting plan. Plan 0 
'allow_free_hosting' => 1,

  # Edit hosting plans.
'plan' => {
	'0' => {
		'name' => 'Free Hosting',
		'disk_space_limit' => 100, # Disk space limit, MB
		'daily_data_transfer_limit' => 1, # Daily http traffic limit, GB
		'monthly_data_transfer_limit' => 10, # Monthly http traffic limit, GB
		'email_accounts' => 5, # Maximum number of mailboxes
		'ftp_accounts' => 5, # Maximum number of ftp accounts
		'mysql_databases' => 5, # Maximum number of databases
		'subdomains' => 5,
		'mailbox_quota' => 50, # Set the mailbox quota, MB
		'monthly' => {
					'USD' => 0.00, # Billing Cycle: monthly,quarterly,semiannually,annually,biennially
					'EUR' => 0.00
		},
		'quarterly' => {
					'USD' => 0.00,
					'EUR' => 0.00
		},
		'annually' => {
					'USD' => 0.00,
					'EUR' => 0.00
		}
	},
	'1' => {
		'name' => 'Silver',
		'disk_space_limit' => 100,
		'daily_data_transfer_limit' => 1,
		'monthly_data_transfer_limit' => 100,
		'email_accounts' => 10,
		'ftp_accounts' => 10,
		'mysql_databases' => 1,
		'subdomains' => 10,
		'mailbox_quota' => 100,
		'monthly' => {
					'USD' => 1.95,
					'EUR' => 1.00
		},
		'quarterly' => {
					'USD' => 29.95,
					'EUR' => 20.95
		},
		'annually' => {
					'USD' => 39.95,
					'EUR' => 30.95
		}
	},
	'2' => {
		'name' => 'Gold',
		'disk_space_limit' => 200,
		'daily_data_transfer_limit' => 2,
		'monthly_data_transfer_limit' => 200,
		'email_accounts' => 20,
		'ftp_accounts' => 20,
		'mysql_databases' => 2,
		'subdomains' => 20,
		'mailbox_quota' => 200,
		'monthly' => {
					'USD' => 2.95,
					'EUR' => 2.00
		},
		'quarterly' => {
					'USD' => 39.95,
					'EUR' => 30.95
		},
		'annually' => {
					'USD' => 49.95,
					'EUR' => 40.95
		}
	},
	'3' => {
		'name' => 'Platinum',
		'disk_space_limit' => 300,
		'daily_data_transfer_limit' => 3,
		'monthly_data_transfer_limit' => 300,
		'email_accounts' => 30,
		'ftp_accounts' => 30,
		'mysql_databases' => 3,
		'subdomains' => 30,
		'mailbox_quota' => 300,
		'monthly' => {
					'USD' => 3.95,
					'EUR' => 3.00
		},
		'quarterly' => {
					'USD' => 49.95,
					'EUR' => 40.95
		},
		'annually' => {
					'USD' => 59.95,
					'EUR' => 50.95
		}
	}
},

  # The number of months from current date, after that user account will expire.
  # All free hosting accounts will expire after this period.
'expiry_months' => 120,

  # Delete expired accounts or reset to free hosting plan again?, '0' don't, '1' yes.
'delete_expired' => 0,

  # The control panel notifies your customers of hosting account expiration by sending e-mail notifications.
  # Specify when to send the user hosting account expiration notices. By default, such notices are sent 15 days in advance.
  # Final notices to renew are sent 1 day before expiration date.
'invoice_generation' => 15, # Enter the number of days before the due payment date you want to generate invoices
'first_advance_notification' => 10, # Enter the number of days before the due payment date you would like to send the first notice (0 to disable)
'second_advance_notification' => 7, # Enter the number of days before the due payment date you would like to send the second notice (0 to disable)
'third_advance_notification' => 5, # Enter the number of days before the due payment date you would like to send the third notice (0 to disable)
'last_advance_notification' => 1, # Enter the number of days before the due payment date you would like to send the final notice (0 to disable)

  # Nr. of days after expiration date, when account will be deleted.
  # Customer can renew his account up to this date.
'redemption_period' => 15,

  # Delete not validated accounts after couple hours, 1-3 hours is a good time.
'unconfirm_time_out' => 2,

  # A secret word for private key encryption.
  # The same secret word must be also in 2checkout.com account.
'secret_word' => 'tango',

  # Type the full path to your Mail program. example: '/usr/sbin/exim'
'mailprog' => '/usr/sbin/sendmail',

  # Default interface language, in this format 'xx-XX'
'default_language' => 'en-US'

);

1;


# End.