Skip to content

Commit 4c27722

Browse files
committed
changes in custom images management
1 parent 681ed84 commit 4c27722

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/functions/tlsmarty.inc.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@ static function getImageSet() {
446446
$imi = config_get('images');
447447
if(count($imi) >0) {
448448
foreach($imi as $key => $img) {
449+
450+
// You need to configure in your custom config something like this
451+
// $tlCfg->images['test_status_passed_with_remarks'] =
452+
// '%imgLoc%test_status_passed_with_remarks.png';
453+
// PAY ATTENTION to the place holder %imgLoc%
449454
$imi[$key] = str_replace('%imgLoc%', $imgLoc, $img);
450455
}
451456
$dummy = array_merge($dummy,$imi);

0 commit comments

Comments
 (0)