Fix drush check for intranet homepage

This commit is contained in:
cytopia 2018-12-20 20:05:29 +01:00
parent d1e5c6d360
commit d5d43d0c71
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -47,7 +47,7 @@ class Php extends BaseClass implements BaseInterface
} }
public function getDrushVersion($version) public function getDrushVersion($version)
{ {
$output = loadClass('Helper')->exec('drush '.$version.' --version 2>/dev/null', $output); $output = loadClass('Helper')->exec('drush'.$version.' --version 2>/dev/null', $output);
return loadClass('Helper')->egrep('/[0-9.]+/', $output); return loadClass('Helper')->egrep('/[0-9.]+/', $output);
} }
public function getDrupalConsoleVersion() public function getDrupalConsoleVersion()