From 7825c080699aaef5e837b7b9268ab39427848c4f Mon Sep 17 00:00:00 2001 From: odain Date: Wed, 8 Jul 2026 09:34:37 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09765=20-=20Designer=20-=20can't=20upload?= =?UTF-8?q?=20extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/modulediscovery.class.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup/modulediscovery.class.inc.php b/setup/modulediscovery.class.inc.php index 48422d9cdb..012b85863c 100755 --- a/setup/modulediscovery.class.inc.php +++ b/setup/modulediscovery.class.inc.php @@ -357,9 +357,6 @@ class ModuleDiscovery { $sDirectory = $sRootDir.'/'.$sRelDir; - if (!is_dir(utils::RealPath($sDirectory, APPROOT))) { - throw new Exception('Data directory ('.$sDirectory.') Does not exist or is outside iTop.'); - } if ($hDir = opendir($sDirectory)) { // This is the correct way to loop over the directory. (according to the documentation) while (($sFile = readdir($hDir)) !== false) {