2
0
mirror of https://github.com/boostorg/website.git synced 2026-02-26 17:12:13 +00:00

Fix date of last release in docs

Was relying on boost.php being updated for every release, but now the
version number is stored in a separate file, so check that instead.
This commit is contained in:
Daniel James
2016-11-14 20:24:14 +00:00
parent 7dbfef2a8b
commit 4e7e504f1d

View File

@@ -134,7 +134,8 @@ class BoostDocumentation
$last_modified = max(
strtotime(BOOST_DOCS_MODIFIED_DATE), // last manual documenation update
filemtime(dirname(__FILE__).'/boost.php'), // last release (since the version number is updated)
filemtime(dirname(__FILE__).'/../../generated/current_version.txt'),
// last release)
filemtime($file) // when the file was modified
);