Description:
removed specific dir info from environment.rb.SAMPLE git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@426 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r198:fd1282d31714 - - 1 file changed: 3 inserted, 1 deleted

@@ -71,23 +71,25
71 # Mime::Type.register "text/richtext", :rtf
71 # Mime::Type.register "text/richtext", :rtf
72 # Mime::Type.register "application/x-mobile", :mobile
72 # Mime::Type.register "application/x-mobile", :mobile
73
73
74 # Include your application configuration below
74 # Include your application configuration below
75
75
76 # These are where inputs and outputs of test requests are stored
76 # These are where inputs and outputs of test requests are stored
77 TEST_REQUEST_INPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/input'
77 TEST_REQUEST_INPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/input'
78 TEST_REQUEST_OUTPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/output'
78 TEST_REQUEST_OUTPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/output'
79
79
80 # To use ANALYSIS MODE, provide the testcases/testruns breakdown,
80 # To use ANALYSIS MODE, provide the testcases/testruns breakdown,
81 # and the directory of the grading result (usually in judge's dir).
81 # and the directory of the grading result (usually in judge's dir).
82 TASK_GRADING_INFO_FILENAME = RAILS_ROOT + '/config/tasks.yml'
82 TASK_GRADING_INFO_FILENAME = RAILS_ROOT + '/config/tasks.yml'
83 - GRADING_RESULT_DIR = '/home/thailandoi/ytopc/judge/result'
83 +
84 + # TODO: change this to where results are kept.
85 + GRADING_RESULT_DIR = 'RESULT-DIR'
84
86
85 # Uncomment so that configuration is read only once when the server is loaded
87 # Uncomment so that configuration is read only once when the server is loaded
86 # Configuration.enable_caching
88 # Configuration.enable_caching
87
89
88 # Uncomment so that the system validates user e-mails
90 # Uncomment so that the system validates user e-mails
89 # VALIDATE_USER_EMAILS = true
91 # VALIDATE_USER_EMAILS = true
90
92
91 # Uncomment so that Apache X-Sendfile is used when delivering files
93 # Uncomment so that Apache X-Sendfile is used when delivering files
92 # (e.g., in /tasks/view).
94 # (e.g., in /tasks/view).
93 # USE_APACHE_XSENDFILE = true
95 # USE_APACHE_XSENDFILE = true
You need to be logged in to leave comments. Login now