- 30 Apr, 2011 1 commit
-
-
docteurklein authored
As we can't know what happened before we require the silex.phar file, we can deduce if an autoloader has already been required. It can lead to fatal errors for cases like SilexBundle.
-
- 26 Apr, 2011 1 commit
-
-
Igor Wiedler authored
-
- 23 Apr, 2011 4 commits
-
-
Igor Wiedler authored
the decision to have a space after `function`, so `function () {}` instead of `function() {}` is based on douglas crockford's javascript code conventions [1]. [1] http://javascript.crockford.com/code.html
-
Igor Wiedler authored
-
Fabien Potencier authored
* igorw/fix-htaccess: also disable apache MultiViews remove -d from .htaccess RewriteCond
-
Fabien Potencier authored
-
- 22 Apr, 2011 3 commits
-
-
Igor Wiedler authored
MultiViews is a content-negotiation option for apache that will, when requesting /resource try to serve /resource.ext. if you have a blog.php this can lead to /blog serving you blog.php instead. this can be quite common with mounted apps. great thanks to Rafael Filipek for discovering this.
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 21 Apr, 2011 2 commits
-
-
Igor Wiedler authored
this caused issues when you try to mount a blog.php under /blog. apache serves you blog.php although blog.php is not a directory. removing the RewriteCond resolves the issue.
-
Igor Wiedler authored
if we don't do this, it's impossible to use route parameters in before handlers.
-
- 20 Apr, 2011 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 18 Apr, 2011 8 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Igor Wiedler authored
-
- 17 Apr, 2011 13 commits
-
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Igor Wiedler authored
-
Igor Wiedler authored
you can get the current version by calling the phar without arguments: $ php silex.phar Silex version 1ee6b36 there is only one single `update` command: $ php silex.phar update this will fetch the latest version of the phar from silex-project.org and replace the current one with it. this makes it easier for users because they can easily update. we could potentially even provide a changelog on running the command. this commit also introduces a Silex\Application::VERSION constant that currently is set to the current git SHA-1, as I proposed in PR 33. This is done by the Compiler. It can later be adjusted to use `git describe`. this is an implementation of PR 35 without the console component.
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
* igorw/master: fix extension test namespaces rename WebTestCase::{createApp => createApplication} do not read files twice when compiling
-
Fabien Potencier authored
-
- 16 Apr, 2011 6 commits
-
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Igor Wiedler authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-