diff options
author | ramon <ramongomez@us.es> | 2018-02-27 10:55:06 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2018-02-27 10:55:06 +0000 |
commit | 9f1274ec297d6ea74b55e2207f19348cd35235ec (patch) | |
tree | 2595b29c14586c4777b18154021d044148bec417 /admin/WebConsole/barramenu.php | |
parent | 9eaa464c22e4dac4416d5d1aa0a6674b8b4e525f (diff) |
#804: Sustituir funciones para compatibilidad con PHP 7 ({{{split}}} por {{{explode}}} y {{{ereg...}}} por {{{preg_...}}}).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5619 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/barramenu.php')
-rw-r--r-- | admin/WebConsole/barramenu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/barramenu.php b/admin/WebConsole/barramenu.php index 36bf2e1e..5c8bcb99 100644 --- a/admin/WebConsole/barramenu.php +++ b/admin/WebConsole/barramenu.php @@ -14,7 +14,7 @@ elseif (stripos($device,'ipad') !== false) {$device="ipad";} elseif (stripos($device,'android') !== false){$device="android";} else{$device=0;} $version=exec("cat /opt/opengnsys/doc/VERSION.txt"); -if(ereg("1.0.4",$version) == TRUE ){$version=4;} +if(preg_match("/1.0.4/",$version) == TRUE ){$version=4;} // ******************************************************************************************************** include_once("./includes/ctrlacc.php"); include_once("./includes/constantes.php"); |