mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 21:57:47 +00:00
Fix bind version in intranet
This commit is contained in:
parent
e5ec9c5e44
commit
babefe4160
@ -56,7 +56,7 @@ class Dns extends BaseClass implements BaseInterface
|
||||
$output = loadClass('Helper')->exec($cmd);
|
||||
|
||||
$version = loadClass('Helper')->egrep('/"[0-9.-]+.*"/', $output);
|
||||
$version = loadClass('Helper')->egrep('/[0-9.-]+/', $version);
|
||||
$version = loadClass('Helper')->egrep('/[0-9.-]+[0-9]+/', $version);
|
||||
|
||||
// Cache and return
|
||||
$this->_version = $version ? $version : '';
|
||||
|
Loading…
Reference in New Issue
Block a user