mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Merge pull request #1375 from Phyks/Phyks-patch-1
Do not force write_playlists.php to be called from bin folder
This commit is contained in:
commit
748a45ef0b
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('NO_SESSION','1');
|
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');
|
$valid_exts = array ('m3u', 'xspf', 'pls');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue