diff options
author | Camil Staps | 2015-05-24 23:37:46 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-24 23:37:46 +0200 |
commit | 3a75a4381f0c35bff9bdd67f056f2b2b5334d1b4 (patch) | |
tree | 7fc5ab98cde69ae234a5fb22648323e1e08668fb /src/config | |
parent | User id -> email in other classes (diff) |
license in all files
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/botleaguesapi.php | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/src/config/botleaguesapi.php b/src/config/botleaguesapi.php index 1df9c5a..f4b1f98 100644 --- a/src/config/botleaguesapi.php +++ b/src/config/botleaguesapi.php @@ -1,15 +1,25 @@ <?php +/** + * RESTful PHP API for Botleagues + * Copyright (C) 2015 Camil Staps <info@camilstaps.nl> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ return [ - 'default_format' => 'json', - - 'formats' => [ - - 'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat', - - ], - 'allowed_origin' => ['http://botleagues.camilstaps.nl', 'https://botleagues.camilstaps.nl'] ]; |