mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
fixed minor ajax issue
This commit is contained in:
parent
b611d2e0a3
commit
2823f5a052
3 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,11 @@
|
|||
--------- 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
|
||||
- Fixed a few more unhandled mis-configurations of Localplay which
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
*/
|
||||
|
||||
require_once('lib/init.php');
|
||||
|
||||
show_template('header');
|
||||
|
||||
$action = scrub_in($_REQUEST['action']);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue