|
From: Florin C B. <ory...@us...> - 2014-09-25 06:05:55
|
Update of /cvsroot/mxbb/mx_radiocast/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15887 Modified Files: radiocast_player.php Log Message: temp fix for pafiledb Index: radiocast_player.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_player.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** radiocast_player.php 22 Jul 2013 18:12:15 -0000 1.9 --- radiocast_player.php 25 Sep 2014 06:05:52 -0000 1.10 *************** *** 192,201 **** } $thisstation = $db->sql_fetchrow($result); - $cat_id = $thisstation['station_cat_id']; $user_id = $thisstation['station_user_id']; ! ! ! if( empty($thisstation['station_url']) && !file_exists(RADIOCAST_UPLOAD_PATH . $thisstation['station_filename']) ) { mx_message_die(GENERAL_ERROR, $lang['Station_not_exist']); --- 192,206 ---- } $thisstation = $db->sql_fetchrow($result); $cat_id = $thisstation['station_cat_id']; $user_id = $thisstation['station_user_id']; ! /* Uncomment here for future implemantation ! * We need here an allowed URL filter ! * ! if(isset($HTTP_GET_VARS['station_url'])) ! { ! $thisstation['station_url'] = $HTTP_GET_VARS['station_url']; ! } ! /* */ ! if(empty($thisstation['station_url']) && !file_exists(RADIOCAST_UPLOAD_PATH . $thisstation['station_filename'])) { mx_message_die(GENERAL_ERROR, $lang['Station_not_exist']); |