installer: Don't shell out if it's disabled
[lhc/web/wiklou.git] / includes / installer / Installer.php
index 1efe5d6..911e5d2 100644 (file)
@@ -990,6 +990,10 @@ abstract class Installer {
                        return true;
                }
 
+               if ( Shell::isDisabled() ) {
+                       return true;
+               }
+
                # Get a list of available locales.
                $result = Shell::command( '/usr/bin/locale', '-a' )
                        ->execute();