CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding setup to get stor folder etc.
This commit is contained in:
parent
71d853567e
commit
8d9c0dab1a
5 changed files with 47 additions and 12 deletions
|
@ -10,6 +10,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$context->addActionContext('version', 'json')
|
||||
->addActionContext('recorded-shows', 'json')
|
||||
->addActionContext('upload-recorded', 'json')
|
||||
->addActionContext('media-monitor-setup', 'json')
|
||||
->addActionContext('media-item-status', 'json')
|
||||
->addActionContext('reload-metadata', 'json')
|
||||
->initContext();
|
||||
|
|
|
@ -633,7 +633,6 @@ class StoredFile {
|
|||
header("Pragma: no-cache");
|
||||
|
||||
// Settings
|
||||
//$p_targetDir = ini_get("upload_tmp_dir"); //. DIRECTORY_SEPARATOR . "plupload";
|
||||
$cleanupTargetDir = false; // Remove old files
|
||||
$maxFileAge = 60 * 60; // Temp file age in seconds
|
||||
|
||||
|
@ -734,6 +733,9 @@ class StoredFile {
|
|||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue