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:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user