Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated classmap.

Updated module config.
  • Loading branch information...
commit 051800887fd6daaa7020ff318b7d60ac01943221 1 parent 1fcf96b
Kyle Spraggs authored
View
1  autoload_classmap.php
@@ -1,4 +1,5 @@
<?php
+// Generated by ZF2's ./bin/classmap_generator.php
return array(
'Documents\Phonenumber' => __DIR__ . '/vendor/mongodb-odm/tests/Documents/Phonenumber.php',
'Documents\Address' => __DIR__ . '/vendor/mongodb-odm/tests/Documents/Address.php',
View
4 config/module.config.php
@@ -34,10 +34,10 @@
'parameters' => array(
'opts' => array(
'auto_generate_proxies' => true,
- 'proxy_dir' => __DIR__ . '/../../../data/DoctrineModule/Proxy',
+ 'proxy_dir' => __DIR__ . '/../../../data/DoctrineMongoODMModule/Proxy',
'proxy_namespace' => 'DoctrineMongoODMModule\Proxy',
'auto_generate_hydrators' => true,
- 'hydrator_dir' => __DIR__ . '/../../../data/DoctrineModule/Hydrators',
+ 'hydrator_dir' => __DIR__ . '/../../../data/DoctrineMongoODMModule/Hydrators',
'hydrator_namespace' => 'DoctrineMongoODMModule\Hydrators',
),
'metadataDriver' => 'mongo_driver_chain',
View
5 config/module.doctrine_mongodb.config.php.dist
@@ -18,7 +18,7 @@ $settings = array(
'production' => false,
// sets the cache to use for metadata: one of 'array', 'apc', or 'memcache'
- 'cache' => 'array',
+ 'cache' => 'array',
// only used if cache above is set to memcache
'memcache' => array(
@@ -32,7 +32,7 @@ $settings = array(
),
'connection' => array(
- 'server' => '127.0.0.1',
+ 'server' => 'mongodb://<user>:<password>@<server>:<port>',
'options' => array()
),
@@ -71,6 +71,7 @@ return array(
'opts' => array(
'auto_generate_proxies' => !$settings['production'],
'auto_generate_hydrators' => !$settings['production'],
+ 'default_db' => $settings['config']['default_db'],
),
'metadataCache' => $settings['cache'],
)
Please sign in to comment.
Something went wrong with that request. Please try again.