From 368be9002e3b18aeff401589cf88374dd17c63e3 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 16 Apr 2014 11:54:20 -0400 Subject: [PATCH] Changing imported path for ftp script --- .../application/modules/rest/controllers/MediaController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/modules/rest/controllers/MediaController.php b/airtime_mvc/application/modules/rest/controllers/MediaController.php index 27404e43b..881622699 100644 --- a/airtime_mvc/application/modules/rest/controllers/MediaController.php +++ b/airtime_mvc/application/modules/rest/controllers/MediaController.php @@ -356,7 +356,8 @@ Logging::info("POST --- file saved"); //TODO: Remove uploadFileAction from ApiController.php **IMPORTANT** - It's used by the recorder daemon... $storDir = Application_Model_MusicDir::getStorDir(); - $importedStorageDirectory = $storDir->getDirectory() . "/imported/" . $ownerId; + //$importedStorageDirectory = $storDir->getDirectory() . "/imported/" . $ownerId; + $importedStorageDirectory = $storDir->getDirectory() . "/imported"; try { //Copy the temporary file over to the "organize" folder so that it's off our webserver