diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-25 16:57:18 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-25 16:57:18 -0800 |
commit | f83929347be13726a9e7728868c8120fdc86a188 (patch) | |
tree | 831c95a98342f0c2ecb315898addc08419d8933c /do.php | |
parent | fed89ebc174dda0963856f992f6f9a26bbe1b182 (diff) | |
download | pathery-f83929347be13726a9e7728868c8120fdc86a188.tar.xz |
`challengeMaps` table added; start of the required code changes.
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -212,6 +212,7 @@ if ($_GET['r'] == 'getpath') { if ($_GET['isChallenge'] == 'true' AND isChallengeMap($mapID)) {
// $firephp->log('Calling challenges');
+ $json['info'][] = 'Executed as a challenge';
$json['completedChallenges'] = getCompletedChallenges($userID, $mapID, $solution, $moves, $json['path']);
// $firephp->log('Challenges called!');
die(json_encode($json));
|