mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 01:39:28 +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:
parent
e5211ffe69
commit
5f4284e409
1 changed files with 4 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue