DBA: Possibility to log the database speed

This commit is contained in:
Michael Vogel 2012-07-08 21:27:20 +02:00
commit 47c48aa438
2 changed files with 17 additions and 4 deletions

View file

@ -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) {