From 547d5c078bda43108b339ec9b3232d44f1b62e30 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Mon, 20 Apr 2009 08:59:00 +0000 Subject: [PATCH] "MDL-16548, fix file area path problem" --- repository/upload/repository.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/upload/repository.class.php b/repository/upload/repository.class.php index 1ed3ae4e44..b20007c1d7 100755 --- a/repository/upload/repository.class.php +++ b/repository/upload/repository.class.php @@ -26,7 +26,7 @@ class repository_upload extends repository { parent::__construct($repositoryid, $context, $options); $itemid = optional_param('itemid', '', PARAM_INT); if($action=='upload'){ - $filepath = '/'.uniqid().'/'; + $filepath = '/'; $this->info = repository::store_to_filepool('repo_upload_file', 'user_draft', $filepath, $itemid); } } -- 2.39.5