Skip to content

Commit

Permalink
Enable access to Mahara from testclient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
donal72 committed Oct 19, 2007
1 parent a2d67b2 commit b3f0a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mnet/testclient.php
Expand Up @@ -35,8 +35,8 @@
if(empty($host->wwwroot)) continue;
// Skip localhost
if($host->wwwroot == $CFG->wwwroot) continue;
// Skip non-moodle hosts
if($host->applicationid != 1) continue;
// Skip non-moodle non-mahara hosts
if($host->applicationid != 1 && $host->applicationid != 2) continue; //TODO: get rid of magic numbers.
echo '<p><a href="testclient.php?hostid='.$host->id.'">'.$host->wwwroot."</a></p>\n";
}

Expand Down

0 comments on commit b3f0a05

Please sign in to comment.