Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move to web directory

change suffix to .cgi so that default conf applies
add library paths
  • Loading branch information...
commit aec7dc414ef8a31ac66a3420468d3b8def1a3cc4 1 parent c3bcd8b
@evdb evdb authored
View
6 script/fixmystreet_app_cgi.pl → web/fixmystreet_app_cgi.cgi
@@ -1,5 +1,11 @@
#!/usr/bin/env perl
+# set all the paths to the perl code
+use FindBin;
+use lib "$FindBin::Bin/../commonlib/perllib";
+use lib "$FindBin::Bin/../perllib";
+use local::lib "$FindBin::Bin/../local-lib5";
+
use Catalyst::ScriptRunner;
Catalyst::ScriptRunner->run('FixMyStreet::App', 'CGI');
View
6 script/fixmystreet_app_fastcgi.pl → web/fixmystreet_app_fastcgi.cgi
@@ -1,5 +1,11 @@
#!/usr/bin/env perl
+# set all the paths to the perl code
+use FindBin;
+use lib "$FindBin::Bin/../commonlib/perllib";
+use lib "$FindBin::Bin/../perllib";
+use local::lib "$FindBin::Bin/../local-lib5";
+
use Catalyst::ScriptRunner;
Catalyst::ScriptRunner->run('FixMyStreet::App', 'FastCGI');
Please sign in to comment.
Something went wrong with that request. Please try again.