typo
This commit is contained in:
@@ -36,7 +36,7 @@ function checkPath($path, $file) {
|
|||||||
/** Get Full Page URL */
|
/** Get Full Page URL */
|
||||||
function pageUrl() {
|
function pageUrl() {
|
||||||
$pageURL = 'http';
|
$pageURL = 'http';
|
||||||
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
|
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") $pageURL .= "s";
|
||||||
$pageURL .= "://";
|
$pageURL .= "://";
|
||||||
if ($_SERVER["SERVER_PORT"] != "80") {
|
if ($_SERVER["SERVER_PORT"] != "80") {
|
||||||
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]
|
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]
|
||||||
@@ -167,6 +167,7 @@ function player($video) {
|
|||||||
|
|
||||||
/** Show list and preview images of available videos */
|
/** Show list and preview images of available videos */
|
||||||
function overview() {
|
function overview() {
|
||||||
|
global $DIR;
|
||||||
?><html>
|
?><html>
|
||||||
<head>
|
<head>
|
||||||
<title>Videofilme</title>
|
<title>Videofilme</title>
|
||||||
|
Reference in New Issue
Block a user