Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/WeBWorK3/Controller/Logger.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Mojo::Home;
use Mojo::Log;
use JSON qw/decode_json/;

my $clientLogFile = Mojo::Log->new(path => Mojo::Home->new->detect->child('logs', 'clientLog.log'));
my $clientLogFile = Mojo::Log->new(path => Mojo::Home->new->detect('WeBWorK3')->child('logs', 'clientLog.log'));

sub clientLog ($c) {
my $rawJSON = $c->req->body;
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK3/Utils/Settings.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ load the default settings from the conf/course_settings.yaml file
=cut

sub getDefaultCourseSettings () {
return LoadFile(Mojo::Home->new->detect->child('conf', 'course_defaults.yml'));
return LoadFile(Mojo::Home->new->detect('WeBWorK3')->child('conf', 'course_defaults.yml'));
}

my @course_setting_categories = qw/email optional general permissions problem problem_set/;
Expand Down