# HG changeset patch # User Calvin Yeh # Date 1490115952 -3600 # Node ID 2e6bf16b0be301ad4919fdb9ca54a157431056dd # Parent 0bbf7b85d00555d8689906bd8200a7372978496d Commit from test site diff -r 0bbf7b85d005 -r 2e6bf16b0be3 check_sections_details.php --- a/check_sections_details.php Wed Jul 15 12:03:22 2015 +0200 +++ b/check_sections_details.php Tue Mar 21 18:05:52 2017 +0100 @@ -104,11 +104,11 @@ $output = file_get_contents($lg_url); $user_info = json_decode($output, true); $current_editor = (string)$user_info['userName']; - + if ($current_editor == null || $current_editor == "" || strcmp($current_editor, "") === 0 || strcmp($user_info['status'], "ok") !== 0) { // redirect to LGServices homepage - //header("Location: http://localgazetteers.mpiwg-berlin.mpg.de/LGServices"); header("Location: "+$lgserver_url+"LGServices"); + //header('Location: http://localgazetteers/LGServices'); } } else { @@ -190,19 +190,19 @@