This repository has been archived on 2018-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
sleepy/application/config/general.php

28 lines
866 B
PHP
Executable File

<?php
/**
* Sleepy - a REST framework
*
*
* A PHP Rest Framework valuing convention over configuration,
* but aiming to be as flexible as possible
*
* @author Timothy J. Warren
* @package Sleepy
*/
return [
// --------------------------------------------------------------------------
// The default format of data to be sent. Can be overwritten in controllers
// --------------------------------------------------------------------------
'default_output_format' => 'json',
// --------------------------------------------------------------------------
// The default format of data recieved. Can be form data or one of the
// types defined in either the application/types or Sleepy/types folders
// --------------------------------------------------------------------------
'default_input_format' => 'json',
];
// End of config/general.php