summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 00:32:57 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 00:32:57 +0000
commit6eac7541290086509cf1531a48ab2734ac48081a (patch)
treea4e1350fdcf765fb8a9d85ff0c513a296fdec946 /lib/init.php
parent2939f419e15589ab9fb73c6fd197e577238c6677 (diff)
downloadampache-6eac7541290086509cf1531a48ab2734ac48081a.tar.gz
ampache-6eac7541290086509cf1531a48ab2734ac48081a.tar.bz2
ampache-6eac7541290086509cf1531a48ab2734ac48081a.zip
added in the playlist bar, and the auto-loading of a tmp playlist per session
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/init.php b/lib/init.php
index 68a6db21..3a72f40a 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -225,6 +225,9 @@ else {
// Load the Preferences from the database
init_preferences();
+// We need to create the tmp playlist for our user
+$GLOBALS['user']->load_playlist();
+
/* Add in some variables for ajax done here because we need the user */
Config::set('ajax_url',Config::get('web_path') . '/server/ajax.server.php',1);