diff --git a/Bootstrap.php b/Bootstrap.php index 1fef9e1f90..ea85e3a9c5 100644 --- a/Bootstrap.php +++ b/Bootstrap.php @@ -314,7 +314,7 @@ protected function getManifestFile( $dir ) { $manifestFile = $dir . DIRECTORY_SEPARATOR . 'manifest.php'; - if( file_exists( $manifestFile ) ) { + if( is_dir( $dir ) && file_exists( $manifestFile ) ) { return include $manifestFile; }