/[Frey]/trunk/bin/server-mojo.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/server-mojo.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 625 by dpavlin, Sat Nov 29 17:48:54 2008 UTC revision 633 by dpavlin, Sun Nov 30 01:46:13 2008 UTC
# Line 19  use lib "$FindBin::Bin/../../lib"; Line 19  use lib "$FindBin::Bin/../../lib";
19    
20  $ENV{MOJO_APP} = 'Frey::Mojo';  $ENV{MOJO_APP} = 'Frey::Mojo';
21    
22    use Frey::Bootstrap;
23    
24  # Check if Mojo is installed  # Check if Mojo is installed
25  eval 'use Mojolicious::Scripts';  eval 'use Mojolicious::Scripts';
26  if ($@) {  if ($@) {
# Line 32  EOF Line 34  EOF
34  }  }
35    
36  # Start the script system  # Start the script system
37  my $scripts = Mojolicious::Scripts->new;  my $scripts = Mojo::Scripts->new;
38  $scripts->run(@ARGV || 'daemon');  $scripts->run(@ARGV || 'daemon');

Legend:
Removed from v.625  
changed lines
  Added in v.633

  ViewVC Help
Powered by ViewVC 1.1.26