HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once

This commit is contained in:
Chloe Deguzman
2017-02-14 21:24:08 +00:00
committed by davidcallizaya
parent d72b7aa561
commit 60efcf7ac7
461 changed files with 289 additions and 3170 deletions

View File

@@ -31,9 +31,6 @@
* @Updated Nov 6th, 2009 bye Eriknyk
*/
G::LoadSystem('inputfilter');
G::LoadClass('net');
$host = new net($_POST['srv']);
$host = $filter->xssFilterHard($host);
$width_content = '550px';

View File

@@ -24,7 +24,7 @@
*/
try {
G::LoadClass('replacementLogo');
$uplogo = PATH_TPL . 'setup' . PATH_SEP . 'uplogo.html' ;
$template = new TemplatePower( $uplogo );
$template->prepare();

View File

@@ -23,10 +23,6 @@
*
*/
//G::genericForceLogin( 'WF_MYINFO' , 'login/noViewPage', $urlLogin = 'login/login' );
G::LoadClass('tree');
$wsSessionId = '';
if (isset ( $_SESSION ['WS_SESSION_ID'] )) {
$wsSessionId = $_SESSION ['WS_SESSION_ID'];
@@ -40,7 +36,7 @@ if (isset ( $_GET ['x'] )) {
$wsdl = '<font color="red">' . G::LoadTranslation ( 'ID_WSDL' ) . '</font>';
$workspace = '';
}
} else {
} else {
if (! isset ( $_SESSION ['END_POINT'] )) {
//$wsdl = 'http://'.$_SERVER['HTTP_HOST'].'/sys'.SYS_SYS.'/en/classic/services/wsdl';
$wsdl = 'http://' . $_SERVER ['HTTP_HOST'];
@@ -51,7 +47,7 @@ if (isset ( $_GET ['x'] )) {
}
}
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/en/classic/services/wsdl2';
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/en/classic/services/wsdl2';
$wsdl = isset ( $_SESSION ['END_POINT'] ) ? $_SESSION ['END_POINT'] : $defaultEndpoint;