Skip to content

Commit

Permalink
Merge pull request #1 from gbuesing/fixes
Browse files Browse the repository at this point in the history
Fix incorrect constant name and couchappignore regex
  • Loading branch information
mheadd committed Feb 11, 2012
2 parents 7611688 + 60ad2c4 commit f906dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .couchappignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
"songs.json",
"tropo"
"tropo/*.*"
]
2 changes: 1 addition & 1 deletion tropo/sms-vote.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
function saveVote($id, $vote) {

$doc = json_encode(array("selection" => $vote));
$url = COUCH_HOST.":".COUCH_DB_PORT."/".COUCH_DB_NAME."/$id";
$url = COUCH_HOST.":".COUCH_PORT."/".COUCH_DB_NAME."/$id";

$putData = tmpfile();
fwrite($putData, $doc);
Expand Down

0 comments on commit f906dc7

Please sign in to comment.