CODE STYLE, workflow/engine/methods/setup/ PART 3 (final)
FILES: setup.js setup.php setupAjax.php showLogoFile.php skin_Ajax.php skinsExport.php skinsList.php skinsNew.php skinsSave.php upgrade.php upgrade_RBAC.php upgrade_System.php upgrade_SystemAjax.php uplogo.php webServices.php webServicesAjax.php webServicesList.php webServicesSetup.php webServicesSetupSave.php weekend.php weekendAjax.php workPeriod.js workPeriod.php workPeriodGraph.php workPeriodSave.php
This commit is contained in:
@@ -1,22 +1,16 @@
|
||||
<?php
|
||||
unset($_SESSION['WS_SESSION_ID']);
|
||||
unset( $_SESSION['WS_SESSION_ID'] );
|
||||
|
||||
if($_POST['form']['WS_PROTOCOL']!='' && $_POST['form']['WS_WORKSPACE']!='')
|
||||
{
|
||||
if($_POST['form']['WS_PORT']!='')
|
||||
{
|
||||
$_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] . ':' .$_POST['form']['WS_PORT'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/classic/services/wsdl2';
|
||||
G::header('location: webServices?x=1');
|
||||
}
|
||||
else
|
||||
{ $_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/classic/services/wsdl2';
|
||||
G::header('location: webServices?x=1');
|
||||
}
|
||||
$_SESSION['WS_WORKSPACE']=$_POST['form']['WS_WORKSPACE'];
|
||||
}
|
||||
else
|
||||
{
|
||||
G::header('location: webServices?x=0');
|
||||
}
|
||||
if ($_POST['form']['WS_PROTOCOL'] != '' && $_POST['form']['WS_WORKSPACE'] != '') {
|
||||
if ($_POST['form']['WS_PORT'] != '') {
|
||||
$_SESSION['END_POINT'] = $_POST['form']['WS_PROTOCOL'] . '://' . $_POST['form']['WS_HOST'] . ':' . $_POST['form']['WS_PORT'] . '/sys' . $_POST['form']['WS_WORKSPACE'] . '/en/classic/services/wsdl2';
|
||||
G::header( 'location: webServices?x=1' );
|
||||
} else {
|
||||
$_SESSION['END_POINT'] = $_POST['form']['WS_PROTOCOL'] . '://' . $_POST['form']['WS_HOST'] . '/sys' . $_POST['form']['WS_WORKSPACE'] . '/en/classic/services/wsdl2';
|
||||
G::header( 'location: webServices?x=1' );
|
||||
}
|
||||
$_SESSION['WS_WORKSPACE'] = $_POST['form']['WS_WORKSPACE'];
|
||||
} else {
|
||||
G::header( 'location: webServices?x=0' );
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user