mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
get_version: don't rely on exec() exit code to determine whether output is valid
This commit is contained in:
@@ -157,9 +157,10 @@
|
||||
"hook_prefs_tabs", false);
|
||||
?>
|
||||
</div>
|
||||
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
|
||||
<a class="text-muted" target="_blank" href="http://tt-rss.org/">
|
||||
Tiny Tiny RSS</a> v<?php echo get_version() ?>
|
||||
<?php $version = get_version($git_commit, $git_timestamp, $last_error); ?>
|
||||
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
|
||||
<a class="text-muted" target="_blank" href="http://tt-rss.org/">Tiny Tiny RSS</a>
|
||||
<span title="<?php echo htmlspecialchars($last_error) ?>">v<?php echo $version ?></span>
|
||||
© 2005-<?php echo date('Y') ?>
|
||||
<a class="text-muted" target="_blank"
|
||||
href="http://fakecake.org/">Andrew Dolgov</a>
|
||||
|
||||
Reference in New Issue
Block a user