mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-31 00:23:51 +00:00
Fix drush check for intranet homepage
This commit is contained in:
parent
d1e5c6d360
commit
d5d43d0c71
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user