projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f17af5
)
Images.php
author
edward
<edward@roojs.com>
Wed, 5 Oct 2016 06:16:32 +0000
(14:16 +0800)
committer
edward
<edward@roojs.com>
Wed, 5 Oct 2016 06:16:32 +0000
(14:16 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
13ba397
..
83151ec
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-355,6
+355,10
@@
class Pman_Core_Images extends Pman
if (empty($attr['src'])) {
continue;
}
if (empty($attr['src'])) {
continue;
}
+ print_r($baseURL);
+ echo "\n";
+ print_r($attr['src']);
+ exit;
if (0 !== strpos($attr['src'], $baseURL)) {
// it starts with our 'new' baseURL?
$html = self::replaceImgUrl($html, $baseURL, $img, $attr, 'src' );
if (0 !== strpos($attr['src'], $baseURL)) {
// it starts with our 'new' baseURL?
$html = self::replaceImgUrl($html, $baseURL, $img, $attr, 'src' );