diff -r 86140ed9087d -r 3b4aef1efff6 greyhound.php --- a/greyhound.php Fri Aug 15 23:22:30 2008 -0400 +++ b/greyhound.php Fri Aug 15 23:31:37 2008 -0400 @@ -66,7 +66,7 @@ // start up... -status('Starting Greyhound Web Control v0.1a1'); +status('Starting Greyhound Web Control v0.1a3'); status('loading files'); require('webserver.php'); @@ -77,17 +77,6 @@ require(GREY_ROOT . '/ajax.php'); require(GREY_ROOT . '/imagetools.php'); -status('doing home directory detection'); - -// get home directory - -if ( !isset($_ENV['HOME']) ) -{ - burnout('Could not get your home directory'); -} - -$homedir =& $_ENV['HOME']; - // signal handler function sigterm($signal) { @@ -100,6 +89,7 @@ // init playlist object $playlist = array(); +$amarok_home = false; rebuild_playlist(); // startup webserver