[Jifty-commit] r4796 - in jifty/trunk: lib/Jifty/Script

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jan 7 14:20:13 EST 2008


Author: sartak
Date: Mon Jan  7 14:20:13 2008
New Revision: 4796

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Script/Script.pm

Log:
 r49942 at onn:  sartak | 2008-01-07 14:19:44 -0500
 Munging @INC isn't necessary in new scripts, Jifty does that for you now


Modified: jifty/trunk/lib/Jifty/Script/Script.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Script.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/Script.pm	Mon Jan  7 14:20:13 2008
@@ -61,10 +61,7 @@
 use warnings;
 
 use Jifty;
-BEGIN { 
-    Jifty->new;
-    push \@INC, Jifty::Util->app_root . '/lib');
-}
+BEGIN { Jifty->new }
 
 # Your script-specific code goes here.
 


More information about the Jifty-commit mailing list