BUGFIX: Fixed code for regenerating cached test manifest.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84971 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-08-21 03:03:16 +00:00
parent 5829c86947
commit 90598e32d3

View File

@ -77,9 +77,9 @@ class ManifestBuilder {
// The dev/build reference is some coupling but it solves an annoying bug
if(!file_exists($testManifestFile)
|| (filemtime($testManifestFile) < filemtime($testManifestFile))
|| (filemtime($testManifestFile) < filemtime(BASE_PATH))
|| isset($_GET['flush'])) {
// Build the manifest, including the tests/ folders
$manifestInfo = self::get_manifest_info(BASE_PATH);
$manifest = self::generate_php_file($manifestInfo);