X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/119fbc879473fe18b7d4333db044f3bcc1d2d225..0ea2ddad65a7079dbc914a01f07f49b5cd44ec14:/admin.pl diff --git a/admin.pl b/admin.pl deleted file mode 120000 index 385000d1b..000000000 --- a/admin.pl +++ /dev/null @@ -1 +0,0 @@ -am.pl \ No newline at end of file diff --git a/admin.pl b/admin.pl new file mode 100755 index 000000000..ef97a15a1 --- /dev/null +++ b/admin.pl @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use strict; + +BEGIN { + unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML). + push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version. + push @INC, "SL"; # FCGI won't find modules that are not properly named. Help it by inclduging SL +} + +use SL::Dispatcher; + +SL::Dispatcher::pre_startup(); +SL::Dispatcher::handle_request('CGI'); + +1;