aboutsummaryrefslogtreecommitdiff
path: root/GradeBook.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-01-20 22:52:08 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-01-20 22:52:08 -0500
commit27ca1f9dfbaacb4fcecbf2f33db404ff2bc36093 (patch)
tree95221ead6d7fece3c6e50d704819a02ac1a1d101 /GradeBook.tcl
parent88c28044d943668228f413ee242a731f1c3762d6 (diff)
downloadGradeBook-27ca1f9dfbaacb4fcecbf2f33db404ff2bc36093.tar.gz
GradeBook-27ca1f9dfbaacb4fcecbf2f33db404ff2bc36093.zip
added directory with courses DB to config
Diffstat (limited to 'GradeBook.tcl')
-rwxr-xr-xGradeBook.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl
index 41f75ba..d8180f3 100755
--- a/GradeBook.tcl
+++ b/GradeBook.tcl
@@ -68,7 +68,7 @@ dbg "===== Connection at $timestamp for user $user ====="
::ncgi::header
htmlHeader
puts "<body>"
-set dbfile "courses/$coursedbfname"
+set dbfile "$GradebookServerConfig(grades_db_dir)/$coursedbfname"
dbg "DB filename: $dbfile"
if { ($coursedbfname ne "") && [file exists $dbfile] } {
sqlite3 db $dbfile