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.
2014-05-07 14:05:13 -04:00
|
|
|
<?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
|
|
|
|
*/
|
|
|
|
|
2014-05-14 10:32:31 -04:00
|
|
|
return [
|
2014-05-07 14:05:13 -04:00
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// 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
|