Skip to content

Commit

Permalink
Add changes to OPL-update obtained from iron particle
Browse files Browse the repository at this point in the history
  • Loading branch information
mgage committed Aug 30, 2012
1 parent d522013 commit dfab1ac
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
10 changes: 5 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

WeBWorK
Online Homework Delivery System
Version 2.5.1
Branch: openwebwork/webwork2 ww2.5.1
Version 2.5.*
Branch: github.com/openwebwork

http://webwork.maa.org/wiki/Release_notes_for_WeBWorK_2.5.1
Copyright 2000-2011, The WeBWorK Project
http://webwork.maa.org/wiki/Release_notes_for_WeBWorK_2.5.0
Copyright 2000-2012, The WeBWorK Project
http://webwork.maa.org
All rights reserved.


13 changes: 7 additions & 6 deletions bin/OPL-update
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ my %NPLtables = (
path => 'NPL-path',
pgfile => 'NPL-pgfile',
keyword => 'NPL-keyword',
pgfile-keyword => 'NPL-pgfile-keyword',
pgfile_keyword => 'NPL-pgfile-keyword',
textbook => 'NPL-textbook',
chapter => 'NPL-chapter',
section => 'NPL-section',
problem => 'NPL-problem',
pgfile-problem => 'NPL-pgfile-problem',
pgfile_problem => 'NPL-pgfile-problem',
);


Expand Down Expand Up @@ -97,19 +97,20 @@ sub dbug {

##Figure out which set of tables to use

my %tables;
if( -e "$libraryRoot/VERSION") {
include("$libraryRoot/VERSION");
if($OPL_VERSION eq '2.5.0') {
my %tables = %OPLtables;
%tables = %OPLtables;
my $lib = 'OPL';
print "Got OPLtables!\n";
} else {
my %tables = %NPLtables;
%tables = %NPLtables;
my $lib = 'NPL';
print "Got NPLtables! (1)\n";
}
else {
my %tables = %NPLtables;
} else {
%tables = %NPLtables;
my $lib = 'NPL';
print "Got NPLtables! (2)\n";
}
Expand Down
2 changes: 2 additions & 0 deletions bin/check_modules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@
Getopt::Std
HTML::Entities
HTML::Tagset
HTML::Template
IO::File
Iterator
Iterator::Util
JSON
Locale::Maketext::Lexicon
Locale::Maketext::Simple
Mail::Sender
Expand Down
3 changes: 2 additions & 1 deletion conf/localOverrides.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ $problemDefaults{max_attempts} = -1;
pgproblemeditor1 => 1,
# pgproblemeditor2 => 1,
# pgproblemeditor3 => 1,
);
);


################################################################################
# Directory for temporary files
Expand Down

0 comments on commit dfab1ac

Please sign in to comment.