Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
b9ecca72
Commit
b9ecca72
authored
Sep 01, 2011
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated domain names
parent
7b1df242
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
README.md
README.md
+2
-2
doc/extensions/twig.rst
doc/extensions/twig.rst
+2
-2
doc/intro.rst
doc/intro.rst
+1
-1
doc/services.rst
doc/services.rst
+3
-3
doc/usage.rst
doc/usage.rst
+1
-1
src/Silex/Compiler.php
src/Silex/Compiler.php
+2
-2
No files found.
README.md
View file @
b9ecca72
...
...
@@ -34,5 +34,5 @@ Read the [documentation][3] for more information.
Silex is licensed under the MIT license.
[
1
]:
http://symfony.com
[
2
]:
http://silex
-project
.org/get/silex.phar
[
3
]:
http://silex
-project
.org/documentation
[
2
]:
http://silex
.sensiolabs
.org/get/silex.phar
[
3
]:
http://silex
.sensiolabs
.org/documentation
doc/extensions/twig.rst
View file @
b9ecca72
...
...
@@ -2,7 +2,7 @@ TwigExtension
=============
The *TwigExtension* provides integration with the `Twig
<http://
www.twig-project
.org/>`_ template engine.
<http://
twig.sensiolabs
.org/>`_ template engine.
Parameters
----------
...
...
@@ -74,4 +74,4 @@ This will render a file named ``views/hello.twig``.
{{ app.request.host }}
For more information, check out the `Twig documentation
<http://
www.twig-project
.org>`_.
<http://
twig.sensiolabs
.org>`_.
doc/intro.rst
View file @
b9ecca72
...
...
@@ -45,4 +45,4 @@ It's really that easy!
Installing Silex is as easy as it can get. Download the `silex.phar`_ file
and you're done!
.. _silex.phar: http://silex
-project
.org/get/silex.phar
.. _silex.phar: http://silex
.sensiolabs
.org/get/silex.phar
doc/services.rst
View file @
b9ecca72
Services
========
Silex is not only a microframework. It is also a micro service container.
It does this by extending `Pimple <http://pimple-project.org>`_
which provides
service goodness in just 44 NCLOC.
Silex is not only a microframework. It is also a micro service container.
It
does this by extending `Pimple <http://pimple.sensiolabs.org>`_ which provides
service goodness in just 44 NCLOC.
Dependency Injection
--------------------
...
...
doc/usage.rst
View file @
b9ecca72
...
...
@@ -566,7 +566,7 @@ command:
$ php silex.phar update
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
--------
...
...
src/Silex/Compiler.php
View file @
b9ecca72
...
...
@@ -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])) {
switch ($_SERVER['argv'][1]) {
case 'update':
$remoteFilename = 'http://silex
-project
.org/get/silex.phar';
$remoteFilename = 'http://silex
.sensiolabs
.org/get/silex.phar';
$localFilename = __DIR__.'/silex.phar';
file_put_contents($localFilename, file_get_contents($remoteFilename));
break;
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) {
printf("A newer Silex version is available (%s).\n", $latest);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment