projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c9c2a
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:48:18 +0000
(10:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:48:18 +0000
(10:48 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
d18fda9
..
55afe42
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-223,6
+223,12
@@
class Pman_Core_Images extends Pman
static function replaceImgURLS($html, $baseURL)
{
+
+ $ff = HTML_FlexyFramework::get();
+ if (!isset($ff->Pman_Image['public_baseURL'])) {
+ return $html;
+ }
+
preg_match_all('/<img\w[^>]+>/i',$html, $result);
$matches = array_unique($result[0]);