Commit 066c3574 authored by Fabien Potencier's avatar Fabien Potencier

fixed update command (closes #122)

parent 30837786
......@@ -109,7 +109,7 @@ if ('cli' === php_sapi_name() && isset($argv[1])) {
switch ($argv[1]) {
case 'update':
$remoteFilename = 'http://silex-project.org/get/silex.phar';
$localFilename = getcwd().'/silex.phar';
$localFilename = __DIR__.'/silex.phar';
file_put_contents($localFilename, file_get_contents($remoteFilename));
break;
......
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