From 8252e698e981812d3311e515bc397c97e06b5b37 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 28 Jan 2008 13:06:03 -0600 Subject: [PATCH] Making the images show at admin/itemtype.spl Signed-off-by: Joshua Ferraro --- admin/itemtypes.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 0eb6de29cc..8e3291edbf 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -102,8 +102,9 @@ if ( $op eq 'add_form' ) { } # build list of images - my $imagedir_filesystem = getitemtypeimagedir(); - my $imagedir_web = getitemtypeimagesrc(); + my $src = "intranet"; # so that the getitemtypeimage functions know where they were called from -fbcit + my $imagedir_filesystem = getitemtypeimagedir($src); + my $imagedir_web = getitemtypeimagesrc($src); opendir( DIR, $imagedir_filesystem ) or warn "cannot opendir " . $imagedir_filesystem . ": " . $!; my @imagelist; -- 2.39.5