mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 11:36:20 +05:30
Update version + cleaning up
This commit is contained in:
parent
33a29d1b2c
commit
5226e9c01c
33 changed files with 56 additions and 38 deletions
|
|
@ -54,5 +54,10 @@ if (empty($updater->getNewestInfo())) {
|
|||
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
|
||||
echo '</div>';
|
||||
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
|
||||
if (config('show.version') == 'false') {
|
||||
if(file_exists('cache/installedVersion.json')) {
|
||||
unlink('cache/installedVersion.json');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue