DBA: Possibility to log the database speed
This commit is contained in:
parent
db2f0f7919
commit
47c48aa438
2 changed files with 17 additions and 4 deletions
|
|
@ -795,6 +795,9 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
|
|||
|
||||
$a = get_app();
|
||||
|
||||
// Picture addresses can contain special characters
|
||||
$s = htmlspecialchars_decode($s);
|
||||
|
||||
$matches = null;
|
||||
$c = preg_match_all('/\[img\](.*?)\[\/img\]/ism',$s,$matches,PREG_SET_ORDER);
|
||||
if($c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue