WeBWorKdocs

sq_webwork:


Home
Current UR
courses
Visitor
page
Intro to
WeBWorK
WeBWorK 2
Twiki
WW
Community
Grant Support
& awards
Discussion
group
Problem
library
Write/modify
problems
Create &
manage course
Tutorial on
running a course
HowTos
FAQ
WeBWorK2
FAQ
Software
Download
How to
Install WW server
Feedback
Site Map
Change
preferences
Change
password





Prev | Next | pod


NAME

IO.pl - Temporary location for IO functions that need access to the problem environment. Formerly defined in IO.pm

See notes in Translator.pm

surePathToTmpFile

    surePathToTmpFile($path)
    Returns: $path

Defined in FILE.pl

Creates all of the subdirectories between the directory specified by &getCourseTempDirectory and the address of the path.

Uses

    &createDirectory($path,$Global::tmp_directory_permission, $Global::numericalGroupID)

The path may begin with the correct path to the temporary directory. Any other prefix causes a path relative to the temporary directory to be created.

The quality of the error checking could be improved. :-)

File path = /ww/webwork/pg/macros/IO.pl

<| Post or View Comments |>


Prev | Next | pod

Last update: Wednesday, January 10, 2007 at 10:08:32 PM.
This site maintained using Manila and Frontier software.