1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Move ampache-doped to ampache

This commit is contained in:
Afterster 2014-04-15 20:20:02 +02:00
parent 136e29aacb
commit 0152ab610f
30 changed files with 64 additions and 78 deletions

View file

@ -213,8 +213,8 @@ function check_override_exec_time()
function check_config_writable()
{
// file eixsts && is writable, or dir is writable
return ((file_exists(AmpConfig::get('prefix') . '/config/ampache-doped.cfg.php') && is_writable(AmpConfig::get('prefix') . '/config/ampache-doped.cfg.php'))
|| (!file_exists(AmpConfig::get('prefix') . '/config/ampache-doped.cfg.php') && is_writeable(AmpConfig::get('prefix') . '/config/')));
return ((file_exists(AmpConfig::get('prefix') . '/config/ampache.cfg.php') && is_writable(AmpConfig::get('prefix') . '/config/ampache.cfg.php'))
|| (!file_exists(AmpConfig::get('prefix') . '/config/ampache.cfg.php') && is_writeable(AmpConfig::get('prefix') . '/config/')));
}
/**