Skip to content

Commit

Permalink
[fr] Follow cakephp#1387
Browse files Browse the repository at this point in the history
Removes the Repositories section
  • Loading branch information
cake17 committed May 31, 2014
1 parent a28601c commit a41405e
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions fr/installation/advanced-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,8 @@ application CakePHP ressemblerait à ce qui suit::

{
"name": "example-app",
"repositories": [
{
"type": "pear",
"url": "http://pear.cakephp.org"
}
],
"require": {
"cakephp/cakephp": ">=2.4.9"
"cakephp/cakephp": ">=2.5.0"
},
"config": {
"vendor-dir": "Vendor/"
Expand Down Expand Up @@ -81,7 +75,7 @@ relatif::

define(
'CAKE_CORE_INCLUDE_PATH',
ROOT . '/Vendor/pear-pear.cakephp.org/CakePHP'
ROOT . '/Vendor/cakephp/cakephp/lib'
);

.. note::
Expand Down Expand Up @@ -161,15 +155,15 @@ exemple) pour ressembler à ce qui suit::
// /app/webroot/index.php (partiel, commentaires retirés)
if (!defined('ROOT')) {
define('ROOT', DS.'home'.DS.'moi');
define('ROOT', DS . 'home' . DS . 'me');
}

if (!defined('APP_DIR')) {
define ('APP_DIR', 'monapp');
define ('APP_DIR', 'myapp');
}

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', DS.'usr'.DS.'lib');
define('CAKE_CORE_INCLUDE_PATH', DS . 'usr' . DS . 'lib');
}

Il est recommandé d'utiliser la constante ``DS`` plutôt que des slashes pour
Expand Down

0 comments on commit a41405e

Please sign in to comment.