Explorar o código

Bug fix: prevent a crash of the setup when there is no "extensions" directory at all.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4843 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=8) %!d(string=hai) anos
pai
achega
887ba96827
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup/setuputils.class.inc.php

+ 1 - 1
setup/setuputils.class.inc.php

@@ -1181,7 +1181,7 @@ EOF
 		}
 		if (is_dir(APPROOT.'data'))
 		{
-			$aDirsToScan[] = APPROOT.'extensions';
+			$aDirsToScan[] = APPROOT.'data';
 		}
 		if (is_dir($oWizard->GetParameter('copy_extensions_from')))
 		{