Preparing the connexion to the Hub.

SVN:trunk[4991]
This commit is contained in:
Denis Flaven
2017-10-06 13:32:53 +00:00
parent df26833eb1
commit 3f7ab67506
2 changed files with 2 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ class iTopExtensionsMap
* @param string|null $sParentExtensionId Not null if the directory is under a declared extension
* @return boolean
*/
protected function ReadDir($sSearchDir, $sSource, $sParentExtensionId = null)
public function ReadDir($sSearchDir, $sSource, $sParentExtensionId = null)
{
if (!is_readable($sSearchDir)) return false;
$hDir = opendir($sSearchDir);

View File

@@ -2478,6 +2478,7 @@ class WizStepDone extends WizardStep
$oPage->add('</tr></table>');
$oConfig = new Config(utils::GetConfigFilePath());
require_once(APPROOT.'env-production/core/main.php'); // For ModuleXMLParameters
$sIframeUrl = $oConfig->GetModuleSetting('itop-hub-connector', 'setup_url', '');
if ($sIframeUrl != '')