Viewing File: /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/lib/panels/remote/session.sample.php

<?php

//define('SOFT_LOGOUT_URL', 'http://YOUR_LOGOUT.URL'); // Define your custom logout URL here
//define('SOFT_LOGOUT_REDIRECT', 'http://YOUR_REDIRECT.URL'); // Define the URL where you want the user to be redirected after loggingout using default logout URL
//define('SOFT_SIGNIN_REDIRECT', 'http://YOUR_SIGNIN.URL'); // Define the URL where you want the user to be redirected for login
//define('NO_SIGNIN_REDIRECT_ADMIN', '1'); // Define 1 if you do not want to redirect admin page to the SOFT_SIGNIN_REDIRECT defined

/**
 * (Optional) Owner who will own this account. This is not the username but this is the user who will own the account.
 * If not specified 'root' will be assumed.
 * Default owner is root which is created during installation time.
 **/
$PRE_LOGIN['owner'] = 'root';

/**
 * Username who will be accessing Softaculous Enterprise.
 * Admin user is root which is created during installation time.
 **/
$PRE_LOGIN['username'] = 'test';

/**
 * Email of the username. 
 * This is used to send emails like whether Install, Remove, Update of Scripts were successful or not.
 **/
$PRE_LOGIN['email'] = 'a@sa.com';

/**
 * Control Panel Plan (Optional)
 * This is used to specify which control panel plan does this user falls under
 * Guide on how to use plans : 
 * http://www.softaculous.com/docs/Softaculous_Remote#Control_Panel_Plans.28Optional.29
 **/
//$PRE_LOGIN['plan'] = 'platinum';

/**
 * Domains - It is required to install the Scripts. So it is compulsory to add atleast one domain for each user. 
 * Each user can have multiple domains. You can increment the 2nd key of the array $PRE_LOGIN to add more domains.
 * 
 * Domain 			: 	Domain Name where the users will be installing the scripts.
 * Server Host		: 	[OPTIONAL]To be given if domain and server host are not same.
 * FTP User			: 	Valid FTP User to connect to the domain.
 * FTP Password 	:	Valid FTP Password of the user.
 * FTP Path			: 	Valid Web accessible directory available and accessible to the FTP User. Directory should be present.
 *						It should be relative from Home Directory of the user with a slash in the beginning as FTP requires it this way.
 *						Eg : /public_html
 * Path 			: 	Full path of the web accessible directory.
 *						Eg : /home/user/public_html
 * Backup Directory :	Relative Path of the Backup Directory. Backups created by Softaculous will be located here.
 *						Eg : /backups
 * Data Directory 	:	Absolute path of the Data Directory. Some scripts like Elgg, Moodle, etc need a non web accessible folder.
 *						Eg : /home/user/datadir
 **/
$PRE_LOGIN['domains'][0]['domain'] = 'domain.com';
$PRE_LOGIN['domains'][0]['server_host'] = 'ftp.domain.com'; // Optional, if not passed domain name will be used to connect
$PRE_LOGIN['domains'][0]['port'] = 21;
$PRE_LOGIN['domains'][0]['protocol'] = 'ftp';
$PRE_LOGIN['domains'][0]['ftp_user'] = 'user';
$PRE_LOGIN['domains'][0]['ftp_pass'] = 'password';
$PRE_LOGIN['domains'][0]['ftp_path'] = '/public_html';
$PRE_LOGIN['domains'][0]['path'] = '/home/user/public_html';
$PRE_LOGIN['domains'][0]['backupdir'] = '/backups';
$PRE_LOGIN['domains'][0]['datadir'] = '/home/user/datadir';

?>
Back to Directory