Viewing File: /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/lib/panels/remote/www/index.php
<?php
//////////////////////////////////////////////////////////////
//===========================================================
// index.php
//===========================================================
// SOFTACULOUS
// Version : 1.1
// Inspired by the DESIRE to be the BEST OF ALL
// ----------------------------------------------------------
// Started by: Alons
// Date: 10th Jan 2009
// Time: 21:00 hrs
// Site: http://www.softaculous.com/ (SOFTACULOUS)
// ----------------------------------------------------------
// Please Read the Terms of use at http://www.softaculous.com
// ----------------------------------------------------------
//===========================================================
// (c)Softaculous Inc.
//===========================================================
//////////////////////////////////////////////////////////////
@define('SOFTACULOUS', 1);
$enduser_ports = array('80', '443');
$admin_ports = array('2006', '2007');
// Can be defined by using auto_prepend_file custom config
if(defined('SOFT_ENDUSER_PORTS')){
$enduser_ports = SOFT_ENDUSER_PORTS;
}
// Can be defined by using auto_prepend_file custom config
if(defined('SOFT_ADMIN_PORTS')){
$admin_ports = SOFT_ADMIN_PORTS;
}
// Enduser
if(in_array($_SERVER['SERVER_PORT'], $enduser_ports)){
include_once('../inc.php');
// Admin Panel
}elseif(in_array($_SERVER['SERVER_PORT'], $admin_ports)){
include_once('../../index.php');
}
?>Back to Directory