1
0
mirror of synced 2025-01-18 14:31:40 +03:00

Use $applicationMode flag in obtaining entity manager example to make sure people understand that different settings for production and development are necessary

This commit is contained in:
Benjamin Eberlei 2010-07-22 23:30:17 +02:00
parent 974e31a307
commit f8c22abaa6

View File

@ -102,7 +102,7 @@ with the following minimalist configuration:
if ($applicationMode == "development") {
$config->setAutoGenerateProxyClasses(true);
} else {
$config->setAutoGenerateProxyClasses(true);
$config->setAutoGenerateProxyClasses(false);
}
$connectionOptions = array(