summaryrefslogtreecommitdiffstats
path: root/lib/batch.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/batch.lib.php')
-rw-r--r--lib/batch.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/batch.lib.php b/lib/batch.lib.php
index 6666cbb1..4c83deb3 100644
--- a/lib/batch.lib.php
+++ b/lib/batch.lib.php
@@ -52,7 +52,7 @@ function get_song_files( $song_ids ) {
function send_zip( $name, $song_files ) {
/* Require needed library */
- require_once(conf('prefix') . '/modules/archive/archive.lib.php' );
+ require_once Config::get('prefix') . '/modules/archive/archive.lib.php';
$arc = new zip_file( $name . ".zip" );
$options = array(
'inmemory' => 1, // create archive in memory