mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Preparing the connexion to the Hub.
SVN:trunk[4991]
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 != '')
|
||||
|
||||
Reference in New Issue
Block a user