diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-08-21 15:04:33 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-08-21 15:04:33 -0700 |
commit | 11a66a1c5d0c1c8a78ee0e33bff822be13dfa955 (patch) | |
tree | a66a90e45b48d07a96aec2c9876a5925d83d18c3 /do.php | |
parent | 3a1b90cbb7034e285a9e216a4866972dad3288be (diff) | |
download | pathery-11a66a1c5d0c1c8a78ee0e33bff822be13dfa955.tar.xz |
Multipath support for UI
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,8 +134,8 @@ if ($_GET['r'] == 'getpath') { // New
// !! Broken!
//Route the path
- $json['path1'] = routePath($mygrid);
- $json['path2'] = routePath($mygrid, 'X');
+ $json['path'][] = routePath($mygrid);
+ $json['path'][] = routePath($mygrid, 'X');
// !! Tmp
//$moves = $json['moves'];
|