summaryrefslogtreecommitdiff
path: root/contrib/www/lac/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/www/lac/init.php')
-rw-r--r--contrib/www/lac/init.php2
1 files changed, 1 insertions, 1 deletions
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";