summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-12 01:34:18 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-12 01:34:18 +0000
commit2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80 (patch)
tree1c4b2060e96fcf4a92f0ab52dbe3894d3797bebd /lib/init.php
parent80d226853c000229cdcd3690885aea2116f8e2cc (diff)
downloadampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.tar.gz
ampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.tar.bz2
ampache-2a8cbedade6d2d7e7e71e5dbb8c562a84cfe6c80.zip
new rating hotness, has some bugs will continue to hash them out
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/init.php b/lib/init.php
index f76f3eb6..e88da245 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -255,6 +255,13 @@ else {
$user = new user();
}
+
+/* Add in some variables for ajax done here because we need the user */
+$ajax_info['ajax_url'] = $results['web_path'] . '/server/ajax.server.php';
+$ajax_info['ajax_info'] = '&user_id=' . $user->id . '&sessid=' . session_id();
+conf($ajax_info);
+unset($ajax_info);
+
// Load gettext mojo
load_gettext();