mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Add Waveform feature and few ShoutBox links
This commit is contained in:
parent
96736475cc
commit
0ec26ed623
16 changed files with 517 additions and 38 deletions
|
@ -65,14 +65,14 @@ function send_zip( $name, $song_files )
|
|||
{
|
||||
// Check if they want to save it to a file, if so then make sure they've
|
||||
// got a defined path as well and that it's writable.
|
||||
if (AmpConfig::get('file_zip_download') && AmpConfig::get('file_zip_path')) {
|
||||
if (AmpConfig::get('file_zip_download') && AmpConfig::get('tmp_dir_path')) {
|
||||
// Check writeable
|
||||
if (!is_writable(AmpConfig::get('file_zip_path'))) {
|
||||
if (!is_writable(AmpConfig::get('tmp_dir_path'))) {
|
||||
$in_memory = '1';
|
||||
debug_event('Error','File Zip Path:' . AmpConfig::get('file_zip_path') . ' is not writable','1');
|
||||
debug_event('Error','File Zip Path:' . AmpConfig::get('tmp_dir_path') . ' is not writable','1');
|
||||
} else {
|
||||
$in_memory = '0';
|
||||
$basedir = AmpConfig::get('file_zip_path');
|
||||
$basedir = AmpConfig::get('tmp_dir_path');
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue