com presentations: Fixed typoes and order: slides/map/finding-food-import-mongo.xml slides/mongodb/php-connection-string.xml

From: Date: Mon, 17 Sep 2012 13:35:57 +0000
Subject: com presentations: Fixed typoes and order: slides/map/finding-food-import-mongo.xml slides/mongodb/php-connection-string.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1844@lists.php.net to get a copy of this message
Commit: aaadf5a42193f14dcebc91481de3eb71d44fe4bd Author: Derick Rethans <github@derickrethans.nl> Mon, 17 Sep 2012 15:35:57 +0200 Parents: 6384668e9fa576253f89cc3ac46fa86460b39e48 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=aaadf5a42193f14dcebc91481de3eb71d44fe4bd Log: Fixed typoes and order Changed paths: M slides/map/finding-food-import-mongo.xml M slides/mongodb/php-connection-string.xml Diff: diff --git a/slides/map/finding-food-import-mongo.xml b/slides/map/finding-food-import-mongo..xml index 18b6a11..da632cb 100644 --- a/slides/map/finding-food-import-mongo.xml +++ b/slides/map/finding-food-import-mongo.xml @@ -4,7 +4,7 @@ <div effect="fade-out"> <example>$doc = array( 'name' => 'A440', - 'tags => [ + 'tags' => [ 'highway' => 'secondary', 'oneway' => 'yes' ] diff --git a/slides/mongodb/php-connection-string.xml b/slides/mongodb/php-connection-string.xml index 9b3cf31..5e76124 100644 --- a/slides/mongodb/php-connection-string.xml +++ b/slides/mongodb/php-connection-string.xml @@ -4,11 +4,11 @@ <example result="0"><![CDATA[<?php $options = array( 'replicaSet' => 'seta' ); -$m = new Mongo( 'mongodb://user:password@localhost:13000/demo', $options ); +$m = new Mongo( 'mongodb://localhost:13000/?replicaSet=seta' ); $m = new Mongo( 'mongodb://localhost:13000,localhost:13001', $options ); -$m = new Mongo( 'mongodb://localhost:13000,localhost:13001', $options ); +$m = new Mongo( 'mongodb://user:password@localhost:13000/demo', $options ); ?>]]></example> <list>

« previous php.pres (#1844) next »