Skip to content

Commit 28b8234

Browse files
committed
Updated doc for Symfony2
1 parent 4b9a8d9 commit 28b8234

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

cookbook/symfony2/working-with-symfony2.markdown

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Checkout Propel and Phing in the `vendor` directory:
3838

3939
svn checkout http://svn.github.com/propelorm/Propel.git vendor/propel
4040

41-
svn checkout http://svn.phing.info/tags/2.4.6/ vendor/phing
41+
svn checkout http://svn.phing.info/tags/2.4.12/ vendor/phing
4242

43-
Instead of using svn, you can clone the unofficial Git repositories:
43+
Instead of using svn, you can clone the Git repositories:
4444

45-
git submodule add https://github.com/Xosofox/phing vendor/phing
45+
git submodule add https://github.com/phingofficial/phing.git vendor/phing
4646

4747
git submodule add https://github.com/propelorm/Propel.git vendor/propel
4848

@@ -58,7 +58,7 @@ Add the following lines to your deps file (located in the root of the Symfony pr
5858
target=/bundles/Propel/PropelBundle
5959
version=origin/2.0
6060
[phing]
61-
git=https://github.com/Xosofox/phing
61+
git=https://github.com/phingofficial/phing.git
6262
[propel]
6363
git=https://github.com/propelorm/Propel.git
6464

@@ -68,10 +68,10 @@ Add the following lines to your deps file (located in the root of the Symfony pr
6868
git=https://github.com/propelorm/PropelBundle.git
6969
target=/bundles/Propel/PropelBundle
7070
[phing]
71-
git=https://github.com/Xosofox/phing
71+
git=https://github.com/phingofficial/phing.git
7272
[propel]
7373
git=https://github.com/propelorm/Propel.git
74-
74+
7575
Update your vendor directory with
7676

7777
php bin/vendors install
@@ -121,7 +121,7 @@ public function registerBundles()
121121
}
122122
{% endhighlight %}
123123
124-
Don't forget to register the PropelBundle namespace in `app/autoload.php`:
124+
Don't forget to register the PropelBundle namespace in `app/autoload.php` if you are not using Composer:
125125
126126
{% highlight php %}
127127
<?php
@@ -130,6 +130,7 @@ $loader->registerNamespaces(array(
130130
...
131131

132132
'Propel' => __DIR__.'/../vendor/bundles',
133+
'Phing' => __DIR__.'/../vendor/phing/classes/phing',
133134
));
134135
{% endhighlight %}
135136

0 commit comments

Comments
 (0)