Browse Source

prettify

master
Pascal Gloor 5 years ago
parent
commit
032adbaabc
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      cgi/autodoc.fcgi

+ 5
- 5
cgi/autodoc.fcgi View File

my $dbh = sqlconnect($conf->{sql}); my $dbh = sqlconnect($conf->{sql});


my %map = ( my %map = (
api_v1_POST_documents => \&api_v1_POST_documents,
api_v1_POST_documents => \&api_v1_POST_documents,
api_v1_POST_documents_id_data => \&api_v1_POST_documents_id_data, api_v1_POST_documents_id_data => \&api_v1_POST_documents_id_data,
api_v1_GET_documents_id_image => \&api_v1_GET_documents_id_image, api_v1_GET_documents_id_image => \&api_v1_GET_documents_id_image,
api_v1_GET_pages_id_image => \&api_v1_GET_pages_id_image, api_v1_GET_pages_id_image => \&api_v1_GET_pages_id_image,
api_v1_GET_documents => \&api_v1_GET_documents,
api_v1_GET_documents_id => \&api_v1_GET_documents_id,
api_v1_GET_pages_id => \&api_v1_GET_pages_id,
api_v1_PATCH_documents_id => \&api_v1_PATCH_documents_id,
api_v1_GET_documents => \&api_v1_GET_documents,
api_v1_GET_documents_id => \&api_v1_GET_documents_id,
api_v1_GET_pages_id => \&api_v1_GET_pages_id,
api_v1_PATCH_documents_id => \&api_v1_PATCH_documents_id,
); );


my $request = FCGI::Request(); my $request = FCGI::Request();

Loading…
Cancel
Save