12 require_once(
"./Services/FileSystem/classes/class.ilFileData.php");
29 define(
'IMPORT_PATH',
'import');
30 parent::__construct();
31 $this->import_path = parent::getPath().
"/".IMPORT_PATH;
51 if(!@file_exists($this->
getPath()))
67 if(is_writable($this->import_path) && is_readable($this->import_path))
73 $this->
ilias->raiseError(
"Import directory is not readable/writable by webserver",$this->
ilias->error_obj->FATAL);
85 if(!@file_exists($this->import_path))
This class handles all operations on files for the exercise object.
_initDirectory()
init directory overwritten method public
__construct()
Constructor call base constructors.
This class handles all operations on files in directory /ilias_data/.
getPath()
get exercise path public
__checkReadWrite()
check if directory is writable overwritten method from base class private
redirection script todo: (a better solution should control the processing via a xml file) ...
static makeDir($a_dir)
creates a new directory and inherits all filesystem permissions of the parent directory You may pass ...