"); } function get_long_git_commit() { /** Returns the long hash of the commit of the current version */ if (file_exists(LOCAL_COMMIT_FILE)) { $commit = file_get_contents(LOCAL_COMMIT_FILE); } else { $commit = ''; } return $commit; } function get_short_git_commit() { /** Returns the short hash of the commit of the current version */ $commit = get_long_git_commit(); $commit = substr($commit, 0, 7); return $commit; } function is_upgrading() { return file_exists(REMOTE_COMMIT_FILE); } ?> pouët.net 0): ?> 0.9- 0.9 DIP © 2000- mandarine - hosted on scene.org
send comments and bug reports to webmaster@pouet.net - contribute on GitHub
page created in seconds.