Skip to content

Commit

Permalink
Merge pull request #127 from camicroscope/bug-263
Browse files Browse the repository at this point in the history
bug 263
  • Loading branch information
tdiprima authored May 9, 2018
2 parents bb62a25 + 13cbd50 commit 0551f1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/Configuration/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
$serviceUrl = "$baseUrl/services/Camicroscope_DataLoader";
$annotationsUrl = "$baseUrl/services/Camicroscope_Annotations";

if ($_SESSION["db_name"] == "quip_comp"){
$serviceUrl = "$baseUrl/services/Camicroscope_DataLoader_comp";
$annotationsUrl = "$baseUrl/services/Camicroscope_Annotations_comp";
if (isset($_SESSION['db_name']) && !empty($_SESSION['db_name'])) {

if ($_SESSION["db_name"] == "quip_comp"){
$serviceUrl = "$baseUrl/services/Camicroscope_DataLoader_comp";
$annotationsUrl = "$baseUrl/services/Camicroscope_Annotations_comp";
}
}

$u24_userUrl = "$baseUrl/services/u24_user";
Expand Down

0 comments on commit 0551f1a

Please sign in to comment.