use require instead of include
This commit is contained in:
parent
1ed8b720ac
commit
b2afd9ff46
@ -81,7 +81,9 @@ class DoctrineBundle extends Bundle
|
||||
clearstatcache($file);
|
||||
}
|
||||
|
||||
@include $file;
|
||||
if (file_exists($file)) {
|
||||
require $file;
|
||||
}
|
||||
}
|
||||
};
|
||||
spl_autoload_register($this->autoloader);
|
||||
|
Reference in New Issue
Block a user