HOR-494 "Revisar el cóo y cambiar..." SOLVED
This commit is contained in:
2
gulliver/thirdparty/pear/Net/FTP/Socket.php
vendored
2
gulliver/thirdparty/pear/Net/FTP/Socket.php
vendored
@@ -362,7 +362,7 @@ function ftp_pasv(&$control, $pasv)
|
||||
$pos2 = strrpos($cont, ')')-$pos;
|
||||
$string = substr($cont, $pos, $pos2);
|
||||
|
||||
$array = split(',', $string);
|
||||
$array = explode(',', $string);
|
||||
// IP we are connecting to
|
||||
$ip = $array[0]. '.' .$array[1]. '.' .$array[2]. '.' .$array[3];
|
||||
// Port ( 256*lowbit + highbit
|
||||
|
||||
2
gulliver/thirdparty/pear/OS/Guess.php
vendored
2
gulliver/thirdparty/pear/OS/Guess.php
vendored
@@ -106,7 +106,7 @@ class OS_Guess
|
||||
if ($uname === null) {
|
||||
$uname = php_uname();
|
||||
}
|
||||
$parts = split('[[:space:]]+', trim($uname));
|
||||
$parts = explode('[[:space:]]+', trim($uname));
|
||||
$n = count($parts);
|
||||
|
||||
$release = $machine = $cpu = '';
|
||||
|
||||
@@ -720,10 +720,10 @@ class Interop_Client
|
||||
. "<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\n"
|
||||
. "<tr><td class=\"BLANK\">Endpoint</td>\n";
|
||||
foreach ($methods as $method) {
|
||||
$info = split(':', $method);
|
||||
$info = explode(':', $method);
|
||||
echo "<td class='BLANK' valign='top'>";
|
||||
foreach ($info as $m) {
|
||||
$hi = split(',', $m);
|
||||
$hi = explode(',', $m);
|
||||
echo '<b>'. $hi[0] . "</b><br>\n";
|
||||
if (count($hi) > 1) {
|
||||
echo " Actor="
|
||||
|
||||
@@ -121,7 +121,7 @@ foreach ($args[0] as $arg) {
|
||||
help();
|
||||
exit(0);
|
||||
case 'l':
|
||||
$iop->skipEndpointList = split(',', $arg[1]);
|
||||
$iop->skipEndpointList = explode(',', $arg[1]);
|
||||
break;
|
||||
case 'm':
|
||||
$iop->testMethod = $arg[1];
|
||||
|
||||
2
gulliver/thirdparty/pear/SOAP/Parser.php
vendored
2
gulliver/thirdparty/pear/SOAP/Parser.php
vendored
@@ -383,7 +383,7 @@ class SOAP_Parser extends SOAP_Base
|
||||
$this->message[$pos]['arrayType'] = $vqn->name;
|
||||
|
||||
} elseif ($kqn->name == 'offset') {
|
||||
$this->message[$pos]['arrayOffset'] = split(',', substr($value, 1, strlen($value) - 2));
|
||||
$this->message[$pos]['arrayOffset'] = explode(',', substr($value, 1, strlen($value) - 2));
|
||||
|
||||
} elseif ($kqn->name == 'id') {
|
||||
// Save id to reference array.
|
||||
|
||||
@@ -269,13 +269,13 @@ class SOAP_Transport_HTTP extends SOAP_Transport
|
||||
{
|
||||
/* Largely borrowed from HTTP_Request. */
|
||||
$this->result_headers = array();
|
||||
$headers = split("\r?\n", $headers);
|
||||
$headers = explode("\r?\n", $headers);
|
||||
foreach ($headers as $value) {
|
||||
if (strpos($value,':') === false) {
|
||||
$this->result_headers[0] = $value;
|
||||
continue;
|
||||
}
|
||||
list($name, $value) = split(':', $value);
|
||||
list($name, $value) = explode(':', $value);
|
||||
$headername = strtolower($name);
|
||||
$headervalue = trim($value);
|
||||
$this->result_headers[$headername] = $headervalue;
|
||||
|
||||
@@ -680,10 +680,10 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
|
||||
// Split the range into 2 cell refs
|
||||
if (preg_match("/^([A-Ia-i]?[A-Za-z])(\d+)\:([A-Ia-i]?[A-Za-z])(\d+)$/",$range)) {
|
||||
list($cell1, $cell2) = split(':', $range);
|
||||
list($cell1, $cell2) = explode(':', $range);
|
||||
}
|
||||
elseif (preg_match("/^([A-Ia-i]?[A-Za-z])(\d+)\.\.([A-Ia-i]?[A-Za-z])(\d+)$/",$range)) {
|
||||
list($cell1, $cell2) = split('\.\.', $range);
|
||||
list($cell1, $cell2) = explode('\.\.', $range);
|
||||
|
||||
}
|
||||
else {
|
||||
@@ -733,7 +733,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
$class = 2; // as far as I know, this is magick.
|
||||
|
||||
// Split the ref at the ! symbol
|
||||
list($ext_ref, $range) = split('!', $token);
|
||||
list($ext_ref, $range) = explode('!', $token);
|
||||
|
||||
// Convert the external reference part (different for BIFF8)
|
||||
if ($this->_BIFF_version == 0x0500) {
|
||||
@@ -750,7 +750,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
}
|
||||
|
||||
// Split the range into 2 cell refs
|
||||
list($cell1, $cell2) = split(':', $range);
|
||||
list($cell1, $cell2) = explode(':', $range);
|
||||
|
||||
// Convert the cell references
|
||||
if (preg_match("/^(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)$/", $cell1))
|
||||
@@ -839,7 +839,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
$class = 2; // as far as I know, this is magick.
|
||||
|
||||
// Split the ref at the ! symbol
|
||||
list($ext_ref, $cell) = split('!', $cell);
|
||||
list($ext_ref, $cell) = explode('!', $cell);
|
||||
|
||||
// Convert the external reference part (different for BIFF8)
|
||||
if ($this->_BIFF_version == 0x0500) {
|
||||
@@ -891,7 +891,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
// Check if there is a sheet range eg., Sheet1:Sheet2.
|
||||
if (preg_match("/:/", $ext_ref))
|
||||
{
|
||||
list($sheet_name1, $sheet_name2) = split(':', $ext_ref);
|
||||
list($sheet_name1, $sheet_name2) = explode(':', $ext_ref);
|
||||
|
||||
$sheet1 = $this->_getSheetIndex($sheet_name1);
|
||||
if ($sheet1 == -1) {
|
||||
@@ -940,7 +940,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||
// Check if there is a sheet range eg., Sheet1:Sheet2.
|
||||
if (preg_match("/:/", $ext_ref))
|
||||
{
|
||||
list($sheet_name1, $sheet_name2) = split(':', $ext_ref);
|
||||
list($sheet_name1, $sheet_name2) = explode(':', $ext_ref);
|
||||
|
||||
$sheet1 = $this->_getSheetIndex($sheet_name1);
|
||||
if ($sheet1 == -1) {
|
||||
|
||||
@@ -1318,7 +1318,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
|
||||
$row = $match[2];
|
||||
|
||||
// Convert base26 column string to number
|
||||
$chars = split('', $col);
|
||||
$chars = explode('', $col);
|
||||
$expn = 0;
|
||||
$col = 0;
|
||||
|
||||
@@ -2032,13 +2032,13 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
|
||||
// Determine if the link contains a sheet reference and change some of the
|
||||
// parameters accordingly.
|
||||
// Split the dir name and sheet name (if it exists)
|
||||
list($dir_long , $sheet) = split('/\#/', $url);
|
||||
list($dir_long , $sheet) = explode('/\#/', $url);
|
||||
$link_type = 0x01 | $absolute;
|
||||
|
||||
if (isset($sheet)) {
|
||||
$link_type |= 0x08;
|
||||
$sheet_len = pack("V", strlen($sheet) + 0x01);
|
||||
$sheet = join("\0", split('', $sheet));
|
||||
$sheet = join("\0", explode('', $sheet));
|
||||
$sheet .= "\0\0\0";
|
||||
}
|
||||
else {
|
||||
@@ -2057,7 +2057,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
|
||||
$dir_short = preg_replace('/\.\.\\/', '', $dir_long) . "\0";
|
||||
|
||||
// Store the long dir name as a wchar string (non-null terminated)
|
||||
$dir_long = join("\0", split('', $dir_long));
|
||||
$dir_long = join("\0", explode('', $dir_long));
|
||||
$dir_long = $dir_long . "\0";
|
||||
|
||||
// Pack the lengths of the dir strings
|
||||
|
||||
@@ -932,7 +932,7 @@ class soap_transport_http extends nusoap_base {
|
||||
*/
|
||||
function parseCookie($cookie_str) {
|
||||
$cookie_str = str_replace('; ', ';', $cookie_str) . ';';
|
||||
$data = split(';', $cookie_str);
|
||||
$data = explode(';', $cookie_str);
|
||||
$value_str = $data[0];
|
||||
|
||||
$cookie_param = 'domain=';
|
||||
@@ -1035,4 +1035,4 @@ class soap_transport_http extends nusoap_base {
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
2
gulliver/thirdparty/pear/nusoap.colosa.php
vendored
2
gulliver/thirdparty/pear/nusoap.colosa.php
vendored
@@ -2940,7 +2940,7 @@ class soap_transport_http extends nusoap_base_colosa {
|
||||
*/
|
||||
function parseCookie($cookie_str) {
|
||||
$cookie_str = str_replace('; ', ';', $cookie_str) . ';';
|
||||
$data = split(';', $cookie_str);
|
||||
$data = explode(';', $cookie_str);
|
||||
$value_str = $data[0];
|
||||
|
||||
$cookie_param = 'domain=';
|
||||
|
||||
4
gulliver/thirdparty/pear/nusoap.php
vendored
4
gulliver/thirdparty/pear/nusoap.php
vendored
@@ -2943,7 +2943,7 @@ class soap_transport_http extends nusoap_base {
|
||||
*/
|
||||
function parseCookie($cookie_str) {
|
||||
$cookie_str = str_replace('; ', ';', $cookie_str) . ';';
|
||||
$data = split(';', $cookie_str);
|
||||
$data = explode(';', $cookie_str);
|
||||
$value_str = $data[0];
|
||||
|
||||
$cookie_param = 'domain=';
|
||||
@@ -7299,4 +7299,4 @@ class soapclient extends nusoap_base {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -165,7 +165,7 @@ class CoverageReportTask extends TaskPhing
|
||||
|
||||
$html = $geshi->parse_code();
|
||||
|
||||
$lines = split("<li>|</li>", $html);
|
||||
$lines = explode("<li>|</li>", $html);
|
||||
|
||||
// skip first and last line
|
||||
array_pop($lines);
|
||||
@@ -404,4 +404,4 @@ class CoverageReportTask extends TaskPhing
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -181,12 +181,12 @@ function smarty_function_fetch($params, &$smarty)
|
||||
$content .= fgets($fp,4096);
|
||||
}
|
||||
fclose($fp);
|
||||
$csplit = split("\r\n\r\n",$content,2);
|
||||
$csplit = explode("\r\n\r\n",$content,2);
|
||||
|
||||
$content = $csplit[1];
|
||||
|
||||
if(!empty($params['assign_headers'])) {
|
||||
$smarty->assign($params['assign_headers'],split("\r\n",$csplit[0]));
|
||||
$smarty->assign($params['assign_headers'],explode("\r\n",$csplit[0]));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -67,7 +67,7 @@ class Language extends BaseLanguage
|
||||
public function findById ($LAN_ID)
|
||||
{
|
||||
if (strpos($LAN_ID, '_') !== false) {
|
||||
$aux = split('_', $LAN_ID);
|
||||
$aux = explode('_', $LAN_ID);
|
||||
$LAN_ID = $aux[0];
|
||||
}
|
||||
$oCriteria = new Criteria( 'workflow' );
|
||||
|
||||
@@ -296,7 +296,7 @@ switch ($request) {
|
||||
$passwd = $_POST['password'];
|
||||
$server = $_POST['host'];
|
||||
$code = $_POST['codeCaptcha'];
|
||||
$aServer = split(":", $server);
|
||||
$aServer = explode(':', $server);
|
||||
$serverName = $aServer[0];
|
||||
$port = (count($aServer) > 1) ? $aServer[1] : "none";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user