1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00

fixed minor ajax issue

This commit is contained in:
Karl 'vollmerk' Vollmer 2007-01-05 16:35:00 +00:00
parent b611d2e0a3
commit 2823f5a052
3 changed files with 8 additions and 4 deletions

View file

@ -2,6 +2,11 @@
--------- Ampache -- CHANGELOG --------- --------- Ampache -- CHANGELOG ---------
-------------------------------------------------------------------------- --------------------------------------------------------------------------
--------------------------------------------------------------------------
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 v.3.3.3-Beta3 01/04/2007
- Fixed a few more unhandled mis-configurations of Localplay which - Fixed a few more unhandled mis-configurations of Localplay which

View file

@ -26,7 +26,6 @@
*/ */
require_once('lib/init.php'); require_once('lib/init.php');
show_template('header'); show_template('header');
$action = scrub_in($_REQUEST['action']); $action = scrub_in($_REQUEST['action']);

View file

@ -67,7 +67,7 @@ if (!$results = read_config($configfile,0)) {
} }
/** This is the version.... fluf nothing more... **/ /** 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['raw_web_path'] = $results['web_path'];
$results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path']; $results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path'];
@ -298,11 +298,11 @@ elseif (!conf('use_auth')) {
} }
else { else {
if (isset($_REQUEST['sessid'])) { if (isset($_REQUEST['sessid'])) {
$results = vauth_get_session($_REQUEST['sessid']); $sess_results = vauth_get_session($_REQUEST['sessid']);
session_id(scrub_in($_REQUEST['sessid'])); session_id(scrub_in($_REQUEST['sessid']));
session_start(); session_start();
} }
$user = new user($results['username']); $user = new user($sess_results['username']);
init_preferences(); init_preferences();
} }