From 64af8b9bfcdf372031fca158ec8fe616072d95be Mon Sep 17 00:00:00 2001 From: Jason Aubrey Date: Fri, 11 Jan 2013 15:21:19 -0800 Subject: [PATCH] OPL-update now symlinks swf applets in the OPL to webwork2/htdocs/applets so they can be used in problems easily --- bin/OPL-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/OPL-update b/bin/OPL-update index 6b075d409e..b55f406195 100755 --- a/bin/OPL-update +++ b/bin/OPL-update @@ -416,9 +416,9 @@ sub pgfiles { my ($edition, $textauthor, $textsection, $textproblem, $tagged); %textinfo=(); my @textproblems = (-1); - if ($name =~ /swf$/ { + if ($name =~ /swf$/) { my $applet_file = basename($name); - symlink($name,"$webworkDirs{htdocs}/applets/$applet_file"); + symlink($name,$ce->{webworkDirs}->{htdocs}."/applets/".$applet_file); } if ($name =~ /pg$/) { $pgfile = basename($name);