Changeset 387471
- Timestamp:
- 05/21/2011 05:57:11 PM (15 years ago)
- File:
-
- 1 edited
-
wp-itheora/trunk/itheora/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-itheora/trunk/itheora/index.php
r387463 r387471 103 103 104 104 require_once ("lib/fonctions.php"); 105 require ("admin/config/player.php");105 include ("admin/config/player.php"); 106 106 $extra_query=get_extra_query(); 107 107 … … 126 126 } 127 127 } 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"; 129 131 }; 130 132 … … 134 136 $lang = getp('l'); 135 137 } else { 136 $lang = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);138 $lang = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) : "en"; 137 139 $lang = substr($lang[0], 0, 2); 138 140 }
Note: See TracChangeset
for help on using the changeset viewer.