mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-18 10:46:23 +00:00
Refs #662 Fix Symfony version display on Devilbox intranet
This commit is contained in:
parent
06830367c9
commit
ed8639c636
@ -82,7 +82,7 @@ class Php extends BaseClass implements BaseInterface
|
||||
}
|
||||
public function getSymfonyVersion()
|
||||
{
|
||||
$output = loadClass('Helper')->exec('symfony --version 2>/dev/null', $output);
|
||||
$output = loadClass('Helper')->exec('symfony -V 2>/dev/null | tr -d "[:cntrl:]" | sed "s/\[[0-9]*m//g"', $output);
|
||||
return loadClass('Helper')->egrep('/[0-9.]+/', $output);
|
||||
}
|
||||
public function getWpcliVersion()
|
||||
|
Loading…
Reference in New Issue
Block a user