From 241cea7df577b8d2c0fa146869ff9200eb2aae6a Mon Sep 17 00:00:00 2001 From: Aimeos Date: Tue, 3 May 2016 10:29:25 +0200 Subject: [PATCH] Added check to avoid open_basedir warning --- Bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }