1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Do not force write_playlists.php to be called from bin folder

As reported in https://github.com/ampache/ampache/issues/405#issuecomment-244550648.
This commit is contained in:
Lucas Verney 2016-09-05 20:28:49 +02:00 committed by GitHub
parent e5211ffe69
commit 5f4284e409

View file

@ -21,7 +21,10 @@
*/
define('NO_SESSION','1');
require_once '../lib/init.php';
$path = dirname(__FILE__);
$prefix = realpath($path . '/../');
require_once($prefix . '/lib/init.php');
$valid_exts = array ('m3u', 'xspf', 'pls');