the express way:
open /config/config.php
add:
define( 'MY_OWN_UPLOAD_DIR' , 'my/own/dir' );
open lib/filerepository/backend/FileRepository_Backend_FileSystem.class.php
find function getRepositoryDir and setRepositoryDir, then change to:
function getRepositoryDir() {
//return $this->repository_dir;
return MY_OWN_UPLOAD_DIR;
}
function setRepositoryDir($value) {
if(!is_null($value) && !is_dir($value)) {
throw new DirDnxError($value);
} // if
/*if(!folder_is_writable($value)) {
throw new DirNotWritableError($value);
} // if*/
//$this->repository_dir = $value;
$this->repository_dir =MY_OWN_UPLOAD_DIR;
} // setRepositoryDir