Mercurial > hg > LGToc
diff check_sections_details.php @ 11:0a03c75499e6
bug fixed: sessionId after saving
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 22 Jun 2015 15:12:58 +0200 |
parents | 2c35af0d78f3 |
children | 7e04cbe8b2a0 |
line wrap: on
line diff
--- a/check_sections_details.php Mon Jun 22 14:27:13 2015 +0200 +++ b/check_sections_details.php Mon Jun 22 15:12:58 2015 +0200 @@ -107,13 +107,15 @@ if ($current_editor == null) { // redirect to LGServices homepage - header('Location: http://localgazetteers/LGServices'); + header("Location: "+$lgserver_url+"LGServices"); + //header('Location: http://localgazetteers/LGServices'); } } else { // test locally // redirect to LGServices homepage - header('Location: http://localgazetteers/LGServices'); + header("Location: "+$lgserver_url+"LGServices"); + //header('Location: http://localgazetteers/LGServices'); } ?> @@ -178,9 +180,8 @@ </div> </div> <div id="panel"></div> - <script> - var version=<?php echo $version;?>; - var session_id = <?php echo $_GET['sessionId'];?>; + <script>var version = <?php echo $version;?>; + var session_id = "<?php echo $_GET['sessionId']; ?>"; </script> <script type="text/javascript">