Added Logging to imag upload
This commit is contained in:
parent
f64b7d0813
commit
6e1244ca33
|
@ -128,6 +128,9 @@ class Rest_ShowController extends Zend_Rest_Controller
|
||||||
|
|
||||||
$storDir = Application_Model_MusicDir::getStorDir();
|
$storDir = Application_Model_MusicDir::getStorDir();
|
||||||
$importedStorageDirectory = $storDir->getDirectory() . "imported/" . $ownerId . "/show-images/" . $showId;
|
$importedStorageDirectory = $storDir->getDirectory() . "imported/" . $ownerId . "/show-images/" . $showId;
|
||||||
|
|
||||||
|
Logging::info("Stor directory: " . $storDir);
|
||||||
|
Logging::info("Show image directory: " . $importedStorageDirectory);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$importedStorageDirectory = $this->copyFileToStor($tempFilePath, $importedStorageDirectory, $fileExtension);
|
$importedStorageDirectory = $this->copyFileToStor($tempFilePath, $importedStorageDirectory, $fileExtension);
|
||||||
|
|
Loading…
Reference in New Issue