Skip to content

Commit

Permalink
Fixed installer upgrade version.
Browse files Browse the repository at this point in the history
  • Loading branch information
micwallace committed May 16, 2016
1 parent ae8a859 commit ede92c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function addAnalytics($type){
// Set some options - we are passing in a useragent too here
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => 'https://admin.wallaceit.com.au/customerapi/stats/add/'.$type.'?hostname='.$_SERVER['SERVER_NAME'].'&version=1.2',
CURLOPT_URL => 'https://admin.wallaceit.com.au/customerapi/stats/add/'.$type.'?hostname='.$_SERVER['SERVER_NAME'].'&version=1.3',
CURLOPT_USERAGENT => 'WallacePOS_Installer'
));
// Send the request & save response to $resp
Expand Down
2 changes: 1 addition & 1 deletion installer/views/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
$("#install_view").addClass('hide');
$("#complete_view").removeClass('hide');
});
frame.attr('src', "<?php echo(isset($_REQUEST['doupgrade'])?"/installer?upgrade&version=1.2":"/installer?install"); ?>");
frame.attr('src', "<?php echo(isset($_REQUEST['doupgrade'])?"/installer?upgrade&version=1.3":"/installer?install"); ?>");
});
</script>

0 comments on commit ede92c4

Please sign in to comment.