Indentation
This commit is contained in:
parent
be1b8483c5
commit
161ea28556
@ -115,21 +115,21 @@ class CMailFile
|
||||
// This is not in all PHP versions so I define one here manuall.
|
||||
function my_chunk_split($str)
|
||||
{
|
||||
$stmp = $str;
|
||||
$len = strlen($stmp);
|
||||
$out = "";
|
||||
while ($len > 0) {
|
||||
if ($len >= 76) {
|
||||
$out = $out . substr($stmp, 0, 76) . "\r\n";
|
||||
$stmp = substr($stmp, 76);
|
||||
$len = $len - 76;
|
||||
}
|
||||
else {
|
||||
$out = $out . $stmp . "\r\n";
|
||||
$stmp = ""; $len = 0;
|
||||
}
|
||||
}
|
||||
return $out;
|
||||
$stmp = $str;
|
||||
$len = strlen($stmp);
|
||||
$out = "";
|
||||
while ($len > 0) {
|
||||
if ($len >= 76) {
|
||||
$out = $out . substr($stmp, 0, 76) . "\r\n";
|
||||
$stmp = substr($stmp, 76);
|
||||
$len = $len - 76;
|
||||
}
|
||||
else {
|
||||
$out = $out . $stmp . "\r\n";
|
||||
$stmp = ""; $len = 0;
|
||||
}
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
|
||||
// end script
|
||||
|
||||
Loading…
Reference in New Issue
Block a user