@@ 1727-1727 (lines=1) @@ | ||
1724 | $ext = $fileParts[1]; |
|
1725 | $mimeType = $this->_mime_types($ext); |
|
1726 | if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; } |
|
1727 | if ( strlen($directory) > 1 && substr($directory,-1) != '/') { $directory .= '/'; } |
|
1728 | if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) { |
|
1729 | $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message); |
|
1730 | } |
@@ 54-56 (lines=3) @@ | ||
51 | if ($fqnn[0] === '\\') { |
|
52 | $fqnn = substr($fqnn, 1); |
|
53 | } |
|
54 | if ($fqnn[strlen($fqnn) - 1] === '\\') { |
|
55 | $fqnn = substr($fqnn, 0, -1); |
|
56 | } |
|
57 | ||
58 | $namespaceAliases[$alias] = $fqnn; |
|
59 | } |