Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
v0.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyost committed Apr 3, 2015
1 parent 75661c7 commit c1d57f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ It is strongly advised that you change this as quick as possible (check the file
- Bootstrap (http://getbootstrap.com/).
- jQuery (https://jquery.com/).
- Plugins for jQuery : cookie (http://plugins.jquery.com/cookie/), text editor (http://jqueryte.com/) and Divas Cookies (http://www.codingdivas.net/divascookies/).
- GitHub API (https://api.github.com/).

## Special thanks
- cdnjs (https://cdnjs.com/).
Expand Down
4 changes: 2 additions & 2 deletions include/adminarea.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ function compare_projects_names($project_a, $project_b) {
<script type="text/javascript">
var updateLink = $('#update-link');

var request = $.get('<?='https://cdn.rawgit.com/' . PP_APP_AUTHOR . '/' . PP_APP_NAME . '/master/version.update'?>', function(data) {
var remoteVersion = $.trim(data);
var request = $.get('https://api.github.com/repos/<?=PP_APP_AUTHOR . '/' . PP_APP_NAME . '/contents/version.update'?>', function(data) {
var remoteVersion = $.trim(window.atob(data['content']));
if(cmpVersion('<?=PP_APP_VERSION?>', remoteVersion) == -1) {
updateLink.addClass('update-available');
updateLink.html('<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <?=str_replace('/version/', '\' + remoteVersion + \'', PP_UPDATE_AVAILABLE)?>');
Expand Down
2 changes: 1 addition & 1 deletion include/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
DON'T EDIT ANYTHING AFTER THIS LINE !
*/
define('PP_APP_NAME', 'Projectpot');
define('PP_APP_VERSION', '0.2');
define('PP_APP_VERSION', '0.2.1');
define('PP_APP_AUTHOR', 'Skyost');
?>
2 changes: 1 addition & 1 deletion version.update
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2
0.2.1

0 comments on commit c1d57f0

Please sign in to comment.