CC-2529: Create download file API key

-users who are authenticed via ZEND_AUTH can now preview files
 without using api-key
This commit is contained in:
martin 2011-07-12 14:09:40 -04:00
parent 88bdb4840b
commit 1416274882
4 changed files with 5 additions and 8 deletions

View file

@ -152,7 +152,7 @@ function audioPreview(filename, elemID){
}
var ext = getFileExt(filename);
var uri = "/api/get-media/api_key/" + apiKey + "/file/" + filename;
var uri = "/api/get-media/file/" + filename;
var media;
var supplied;