diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-25 23:02:31 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-25 23:02:31 -0500 |
commit | a1ee27f71282fa19b16d1b611bf52464ebbbb09b (patch) | |
tree | c79f1eb5389b80434488d1463470b61ce69961f5 /GradeBook.tcl | |
parent | 508a9c236c5354e07e7c97f04d95a09a108ce9d6 (diff) | |
download | GradeBook-a1ee27f71282fa19b16d1b611bf52464ebbbb09b.tar.gz GradeBook-a1ee27f71282fa19b16d1b611bf52464ebbbb09b.zip |
Added file with config and its generation from template. Main programs use it now.
Diffstat (limited to 'GradeBook.tcl')
-rwxr-xr-x | GradeBook.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl index 9193cdf..fdc3dd0 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -24,6 +24,11 @@ set execution_start_time [clock microseconds] source ./GradeBook_lib.tcl +set config_file "./gb_config.tcl" +if { [file exists $config_file] && ("$config_file" ne "") } { + source $config_file +} + ::ncgi::parse # defaults |