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/nada.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/nada.php')
-rw-r--r-- | admin/WebConsole/nada.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/nada.php b/admin/WebConsole/nada.php index 8df19673..aa872115 100644 --- a/admin/WebConsole/nada.php +++ b/admin/WebConsole/nada.php @@ -118,7 +118,7 @@ $buscaversistemapple=""; $buscaversistemapple=$_SERVER['HTTP_USER_AGENT']; $buscaversistemapple=str_replace("OS","OS:",$buscaversistemapple); $buscaversistemapple=str_replace("like",":like",$buscaversistemapple); -$buscaversistemapple=split(":",$buscaversistemapple); +$buscaversistemapple=explode(":",$buscaversistemapple); $versistem=$buscaversistemapple[1];} ///////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -129,7 +129,7 @@ $versistem=$buscaversistemapple[1];} if(stripos($buscaversistem,'linux') == TRUE ){ $buscaversistemlinux=""; $buscaversistemlinux=str_replace(")",";",$buscaversistem); -$buscaversistemlinux=split(";",$buscaversistemlinux); +$buscaversistemlinux=explode(";",$buscaversistemlinux); $versistem=$buscaversistemlinux[3]; } @@ -139,7 +139,7 @@ $versistem=$buscaversistemlinux[3]; if(stripos($buscaversistem,'android') == TRUE ){ $buscaversistemandroid=""; $buscaversistemandroid=str_replace(")",";",$buscaversistem); -$buscaversistemandroid=split(";",$buscaversistemandroid); +$buscaversistemandroid=explode(";",$buscaversistemandroid); $versistem=$buscaversistemandroid[2]; } ///////////////////////////////////////////////////////////////////////////////////////////////////////////// |