i don't know why i decided to do this.
but i decided to manipulate the location of the "wimpygen" include.
i figured since it wouldnt work empty, that somethign was disagreeing with it.
So.
i move it down to this section, AND IT WORKS AS IS!
- Code: Select all
if (authset() || $cfg['disablelogin'])
{
if (db_verify_stream(authset(false), $phpenv['remote'], false))
{
if (REQUIRE_HTTPS && !$phpenv['https']) klogon();
if (authset()) $u_cookieid = authset(false); else $u_cookieid = null;
$deflanguage = db_guinfo('lang');
include('wimpygen.php');
if (isset($_POST['sel_playlist'])) user_saveoption('defplaylist', vernum($_POST['sel_playlist']));
if (isset($_POST['viewmode'])) user_saveoption('detailview', verchar($_POST['viewmode']));
if (isset($_POST['stationid'])) user_saveoption('defstationid', vernum($_POST['stationid']));
if (isset($_POST['sel_shplaylist']))
{
user_saveoption('defshplaylist', vernum($_POST['sel_shplaylist']));
$_POST['sel_playlist'] = $_POST['sel_shplaylist'];
}
if (isset($_GET['streamrss']))
{
$ca = new caction();
$ca->updatelist();
$ca->createrss(true);
die();
} else
