[DoctrineBundle] tweaked previous merge
This commit is contained in:
parent
4790a5e43f
commit
87416b4756
@ -68,13 +68,13 @@ class DoctrineBundle extends Bundle
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
clearstatcache($file);
|
clearstatcache($file);
|
||||||
|
|
||||||
if (!file_exists($file)) {
|
if (!file_exists($file)) {
|
||||||
throw new \RuntimeException(sprintf('The proxy file "%s" does not exist. If you still have objects serialized in the session, you need to clear the session manually.', $file));
|
throw new \RuntimeException(sprintf('The proxy file "%s" does not exist. If you still have objects serialized in the session, you need to clear the session manually.', $file));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
require $file;
|
require $file;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user