[Jifty-commit] r405 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 27 02:28:27 EST 2005
Author: jesse
Date: Tue Dec 27 02:28:27 2005
New Revision: 405
Modified:
/ (props changed)
jifty/trunk/bin/jifty
Log:
r21826 at truegrounds: jesse | 2005-12-27 02:27:05 -0500
* hcchien pointed out that 'jifty server' didn't work right for non-installed apps
alemxv pointed out that this was due to my boneheaded surgery on bin/jifty
Modified: jifty/trunk/bin/jifty
==============================================================================
--- jifty/trunk/bin/jifty (original)
+++ jifty/trunk/bin/jifty Tue Dec 27 02:28:27 2005
@@ -3,5 +3,14 @@
use strict;
use File::Basename qw(dirname);
+BEGIN {
+ eval {
+ require Jifty::Util;
+ my $root = Jifty::Util->app_root;
+ unshift @INC, "$root/lib" if ($root);
+ }
+
+}
+
use Jifty::Script;
Jifty::Script->dispatch();
More information about the Jifty-commit
mailing list