Skip to content

Commit

Permalink
Added check to avoid open_basedir warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed May 9, 2016
1 parent 4ccca85 commit 241cea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bootstrap.php
Expand Up @@ -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;
}

Expand Down

0 comments on commit 241cea7

Please sign in to comment.