summaryrefslogtreecommitdiff
path: root/contrib/www/lac
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/www/lac')
-rw-r--r--contrib/www/lac/embed.php2
-rw-r--r--contrib/www/lac/init.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/www/lac/embed.php b/contrib/www/lac/embed.php
index 5880fa1..8227f5d 100644
--- a/contrib/www/lac/embed.php
+++ b/contrib/www/lac/embed.php
@@ -13,7 +13,7 @@
<body>
<center>
<?php
-$EMBED=2;
+$EMBED=1;
require_once('player.php');
?>
</center>
diff --git a/contrib/www/lac/init.php b/contrib/www/lac/init.php
index 849c444..9d3d779 100644
--- a/contrib/www/lac/init.php
+++ b/contrib/www/lac/init.php
@@ -36,7 +36,7 @@ switch($MODE) {
}
$URL_BASE = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
-$URL_BASE_IDX = preg_replace("/embed(-.*)?\.php/", "index.php", $URL_BASE);
+$URL_BASE_IDX = preg_replace("/embed(.*)?\.php/", "index.php", $URL_BASE);
$URL_FLASH = $URL_BASE . "?mode=flash&src=$SRC&profile=$PROFILE";
$URL_HTML5 = $URL_BASE . "?mode=html5&src=$SRC&profile=$PROFILE";