diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-05 16:35:00 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-05 16:35:00 +0000 |
commit | 2823f5a0523c766bee46f5fb4e81f7cc4a40d027 (patch) | |
tree | 91bcc2ae39f065f92b7e0c20934d5f1be479e964 | |
parent | b611d2e0a3c4b3e67273478baa4138e3bf47c7b4 (diff) | |
download | ampache-2823f5a0523c766bee46f5fb4e81f7cc4a40d027.tar.gz ampache-2823f5a0523c766bee46f5fb4e81f7cc4a40d027.tar.bz2 ampache-2823f5a0523c766bee46f5fb4e81f7cc4a40d027.zip |
fixed minor ajax issue
-rwxr-xr-x | docs/CHANGELOG | 5 | ||||
-rw-r--r-- | index.php | 1 | ||||
-rw-r--r-- | lib/init.php | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 042e46ac..8d3c8604 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -3,6 +3,11 @@ -------------------------------------------------------------------------- -------------------------------------------------------------------------- + v.3.3.3 + - Fixed an issue that caused AJAX not to work if you were working + in a sub-directory. + +-------------------------------------------------------------------------- v.3.3.3-Beta3 01/04/2007 - Fixed a few more unhandled mis-configurations of Localplay which could cause PHP errors @@ -26,7 +26,6 @@ */ require_once('lib/init.php'); - show_template('header'); $action = scrub_in($_REQUEST['action']); diff --git a/lib/init.php b/lib/init.php index ba0c06d9..58454ec2 100644 --- a/lib/init.php +++ b/lib/init.php @@ -67,7 +67,7 @@ if (!$results = read_config($configfile,0)) { } /** This is the version.... fluf nothing more... **/ -$results['version'] = '3.3.3-Beta3'; +$results['version'] = '3.3.3 Build (001)'; $results['raw_web_path'] = $results['web_path']; $results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path']; @@ -298,11 +298,11 @@ elseif (!conf('use_auth')) { } else { if (isset($_REQUEST['sessid'])) { - $results = vauth_get_session($_REQUEST['sessid']); + $sess_results = vauth_get_session($_REQUEST['sessid']); session_id(scrub_in($_REQUEST['sessid'])); session_start(); } - $user = new user($results['username']); + $user = new user($sess_results['username']); init_preferences(); } |