diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 17:29:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 17:29:07 +0000 |
commit | 78167c02518ff9d757741f0e8df524da300d067d (patch) | |
tree | d5fbbc41f6e807439de0d34ca9a06616dd961d04 /lib/init.php | |
parent | 9a16ee2c2ce55e7693c9432be2466210a0ebc6df (diff) | |
download | ampache-78167c02518ff9d757741f0e8df524da300d067d.tar.gz ampache-78167c02518ff9d757741f0e8df524da300d067d.tar.bz2 ampache-78167c02518ff9d757741f0e8df524da300d067d.zip |
removed extra lines from ajax, down to 86, updated ajax calls, added ldap auth
Diffstat (limited to 'lib/init.php')
-rw-r--r-- | lib/init.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php index e88da245..9bd90a4d 100644 --- a/lib/init.php +++ b/lib/init.php @@ -80,7 +80,7 @@ if (!$results['allow_stream_playback']) { /** This is the version.... fluf nothing more... **/ -$results['version'] = '3.3.3-Alpha1'; +$results['version'] = '3.3.3-Alpha1 (Build 002)'; $results['raw_web_path'] = $results['web_path']; $results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path']; @@ -113,6 +113,12 @@ if (!$results['raw_web_path']) { if (!$_SERVER['SERVER_NAME']) { $_SERVER['SERVER_NAME'] = ''; } +if (!isset($results['auth_methods'])) { + $results['auth_methods'] = 'mysql'; +} +if (!is_array($results['auth_methods'])) { + $results['auth_methods'] = array($results['auth_methods']); +} /* Variables needed for vauth Module */ $results['cookie_path'] = $results['raw_web_path']; |