[TASK] Enable EM offline mode when using composer
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / Controller / ListController.php
index 9a79afc..570dc08 100644 (file)
@@ -102,6 +102,9 @@ class ListController extends AbstractController
         if ($this->configurationUtility->getCurrentConfiguration('extensionmanager')['offlineMode']['value']) {
             $this->settings['offlineMode'] = true;
         }
+        if (Bootstrap::usesComposerClassLoading()) {
+            $this->settings['composerMode'] = true;
+        }
     }
 
     /**