Commit b9ecca72 authored by Fabien Potencier's avatar Fabien Potencier

updated domain names

parent 7b1df242
...@@ -34,5 +34,5 @@ Read the [documentation][3] for more information. ...@@ -34,5 +34,5 @@ Read the [documentation][3] for more information.
Silex is licensed under the MIT license. Silex is licensed under the MIT license.
[1]: http://symfony.com [1]: http://symfony.com
[2]: http://silex-project.org/get/silex.phar [2]: http://silex.sensiolabs.org/get/silex.phar
[3]: http://silex-project.org/documentation [3]: http://silex.sensiolabs.org/documentation
...@@ -2,7 +2,7 @@ TwigExtension ...@@ -2,7 +2,7 @@ TwigExtension
============= =============
The *TwigExtension* provides integration with the `Twig The *TwigExtension* provides integration with the `Twig
<http://www.twig-project.org/>`_ template engine. <http://twig.sensiolabs.org/>`_ template engine.
Parameters Parameters
---------- ----------
...@@ -74,4 +74,4 @@ This will render a file named ``views/hello.twig``. ...@@ -74,4 +74,4 @@ This will render a file named ``views/hello.twig``.
{{ app.request.host }} {{ app.request.host }}
For more information, check out the `Twig documentation For more information, check out the `Twig documentation
<http://www.twig-project.org>`_. <http://twig.sensiolabs.org>`_.
...@@ -45,4 +45,4 @@ It's really that easy! ...@@ -45,4 +45,4 @@ It's really that easy!
Installing Silex is as easy as it can get. Download the `silex.phar`_ file Installing Silex is as easy as it can get. Download the `silex.phar`_ file
and you're done! and you're done!
.. _silex.phar: http://silex-project.org/get/silex.phar .. _silex.phar: http://silex.sensiolabs.org/get/silex.phar
Services Services
======== ========
Silex is not only a microframework. It is also a micro service container. Silex is not only a microframework. It is also a micro service container. It
It does this by extending `Pimple <http://pimple-project.org>`_ does this by extending `Pimple <http://pimple.sensiolabs.org>`_ which provides
which provides service goodness in just 44 NCLOC. service goodness in just 44 NCLOC.
Dependency Injection Dependency Injection
-------------------- --------------------
......
...@@ -566,7 +566,7 @@ command: ...@@ -566,7 +566,7 @@ command:
$ php silex.phar update $ php silex.phar update
This will automatically download a new ``silex.phar`` from This will automatically download a new ``silex.phar`` from
``silex-project.org`` and replace the existing one. ``silex.sensiolabs.org`` and replace the existing one.
Pitfalls Pitfalls
-------- --------
......
...@@ -108,14 +108,14 @@ require_once 'phar://silex.phar/autoload.php'; ...@@ -108,14 +108,14 @@ require_once 'phar://silex.phar/autoload.php';
if ('cli' === php_sapi_name() && basename(__FILE__) === basename($_SERVER['argv'][0]) && isset($_SERVER['argv'][1])) { if ('cli' === php_sapi_name() && basename(__FILE__) === basename($_SERVER['argv'][0]) && isset($_SERVER['argv'][1])) {
switch ($_SERVER['argv'][1]) { switch ($_SERVER['argv'][1]) {
case 'update': case 'update':
$remoteFilename = 'http://silex-project.org/get/silex.phar'; $remoteFilename = 'http://silex.sensiolabs.org/get/silex.phar';
$localFilename = __DIR__.'/silex.phar'; $localFilename = __DIR__.'/silex.phar';
file_put_contents($localFilename, file_get_contents($remoteFilename)); file_put_contents($localFilename, file_get_contents($remoteFilename));
break; break;
case 'check': case 'check':
$latest = trim(file_get_contents('http://silex-project.org/get/version')); $latest = trim(file_get_contents('http://silex.sensiolabs.org/get/version'));
if ($latest != Silex\Application::VERSION) { if ($latest != Silex\Application::VERSION) {
printf("A newer Silex version is available (%s).\n", $latest); printf("A newer Silex version is available (%s).\n", $latest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment