summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/CreaComando.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-02-27 10:55:06 +0000
committerramon <ramongomez@us.es>2018-02-27 10:55:06 +0000
commit9f1274ec297d6ea74b55e2207f19348cd35235ec (patch)
tree2595b29c14586c4777b18154021d044148bec417 /admin/WebConsole/includes/CreaComando.php
parent9eaa464c22e4dac4416d5d1aa0a6674b8b4e525f (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/includes/CreaComando.php')
-rw-r--r--admin/WebConsole/includes/CreaComando.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/includes/CreaComando.php b/admin/WebConsole/includes/CreaComando.php
index f8d3f8d7..056ac3ae 100644
--- a/admin/WebConsole/includes/CreaComando.php
+++ b/admin/WebConsole/includes/CreaComando.php
@@ -12,7 +12,7 @@
// usuario,password,base de datos,etc separados por coma
// *************************************************************************************************************************************************
function CreaComando($cadenaconexion){
- $strcn=split(";",$cadenaconexion);
+ $strcn=explode(";",$cadenaconexion);
$cn=new Conexion;
$cmd=new Comando;
$cn->CadenaConexion($strcn[0],$strcn[1],$strcn[2],$strcn[3],$strcn[4]);
@@ -21,4 +21,4 @@ function CreaComando($cadenaconexion){
$cmd->Conexion=&$cn;
return($cmd);
}
-?> \ No newline at end of file
+?>