aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2011-02-12 13:17:46 +0100
committerLaurent Bachelier <laurent@bachelier.name>2011-02-12 13:18:10 +0100
commit13757113d91a9a397cfe38993c1487c6159e6ac5 (patch)
tree3deb3bfabf2487b4e6b0457d6fd98dfa3d1f992e
parentMore factorization for symlink handling (diff)
downloadsymfttpd-13757113d91a9a397cfe38993c1487c6159e6ac5.tar.xz
Adapt spawn for latest Symfony1 changes
-rwxr-xr-xspawn4
1 files changed, 2 insertions, 2 deletions
diff --git a/spawn b/spawn
index 4a67e33..bc775e4 100755
--- a/spawn
+++ b/spawn
@@ -14,9 +14,9 @@ require dirname(__FILE__).'/lib/Symfony1.php';
require dirname(__FILE__).'/lib/Tail.php';
require dirname(__FILE__).'/lib/Color.php';
-$application = new Symfony1(Argument::get('P', 'path', null));
-$project_path = $application->getProjectPath();
$options = MultiConfig::get();
+$application = new Symfony1(Argument::get('P', 'path', null), $options['want']);
+$project_path = $application->getProjectPath();
$options['port'] = intval(Argument::get('p', 'port', 4042));
$options['bind'] = Argument::get('A', 'all', false)