Plugin Directory

Changeset 387471


Ignore:
Timestamp:
05/21/2011 05:57:11 PM (15 years ago)
Author:
marionline
Message:

Add skins and complete integration of itheora index.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-itheora/trunk/itheora/index.php

    r387463 r387471  
    103103
    104104require_once ("lib/fonctions.php");
    105 require ("admin/config/player.php");
     105include ("admin/config/player.php");
    106106$extra_query=get_extra_query();
    107107
     
    126126    }
    127127} else {
    128     $video = $verror;
     128    // There no param v so we load the local podcast page like an home page
     129    $video = 'http://'.$ihost.$ipath.'podcast.php';
     130    $_GET['out']="link";
    129131};
    130132
     
    134136    $lang = getp('l');
    135137} else {
    136     $lang = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
     138    $lang = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) : "en";
    137139    $lang = substr($lang[0], 0, 2);
    138140}
Note: See TracChangeset for help on using the changeset viewer.