Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.php |
— | — | @@ -231,7 +231,7 @@ |
232 | 232 | break; |
233 | 233 | default : |
234 | 234 | do_stream_insert('stream', $args[0]); |
235 | | - break; |
| 235 | + break; |
236 | 236 | } |
237 | 237 | function upTempalte_Ht_en($force = false) { |
238 | 238 | $wgTemplateTitle = Title :: makeTitle(NS_TEMPLATE, 'Ht_en'); |
Index: trunk/extensions/MetavidWiki/includes/MV_StreamFile.php |
— | — | @@ -98,8 +98,8 @@ |
99 | 99 | global $mvLocalVideoLoc,$mvDefaultVideoQualityId; |
100 | 100 | if($quality==null)$quality=$mvDefaultVideoQualityId; |
101 | 101 | |
102 | | - if(!is_dir($mvLocalVideoLoc))return null; |
103 | | - if(!is_file($mvLocalVideoLoc . $this->_parent_stream->getStreamName() ))return null; |
| 102 | + if(!is_dir($mvLocalVideoLoc))return null; |
| 103 | + if(!@is_file($mvLocalVideoLoc . $this->_parent_stream->getStreamName() ))return null; |
104 | 104 | //all looks good return: |
105 | 105 | return $mvLocalVideoLoc . $this->_parent_stream->getStreamName(); |
106 | 106 | } |
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php |
— | — | @@ -551,7 +551,7 @@ |
552 | 552 | |
553 | 553 | //get updated mvd_id: |
554 | 554 | $dbr =& wfGetDB(DB_SLAVE); |
555 | | - $result = & MV_Index::getMVDbyTitle($titleKey, 'id'); |
| 555 | + $result = & MV_Index::getMVDbyTitle($titleKey, 'mv_page_id'); |
556 | 556 | $mvd_id = $result->id; |
557 | 557 | |
558 | 558 | //return $this->get_fd_mvd_request($titleKey, $mvd_id, 'enclosed'); |