diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-17 00:11:18 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-17 00:11:18 +0000 |
commit | 93cdb3518bd2f7a38b9be9918ca2869c62713464 (patch) | |
tree | 450c25422f9932fb58cfc270cfc3046617749370 /modules | |
parent | d76cefcf01ca215813eb5d4d7f118115aa0718a9 (diff) | |
download | ampache-93cdb3518bd2f7a38b9be9918ca2869c62713464.tar.gz ampache-93cdb3518bd2f7a38b9be9918ca2869c62713464.tar.bz2 ampache-93cdb3518bd2f7a38b9be9918ca2869c62713464.zip |
tweak for cmd line scripts
Diffstat (limited to 'modules')
-rw-r--r-- | modules/init.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/init.php b/modules/init.php index bdd7ac4f..a72d1b75 100644 --- a/modules/init.php +++ b/modules/init.php @@ -110,6 +110,9 @@ if (!$results['ellipse_threshold_title']) { if (!$results['raw_web_path']) { $results['raw_web_path'] = '/'; } +if (!$_SERVER['SERVER_NAME']) { + $_SERVER['SERVER_NAME'] = ''; +} /* Variables needed for vauth Module */ $results['cookie_path'] = $results['raw_web_path']; |