mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-03 22:57:43 +02:00
code formatting
This commit is contained in:
@@ -55,7 +55,7 @@ return array(
|
|||||||
* Predefined size constants.
|
* Predefined size constants.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
'size_constant' => function() {
|
'size_constant' => function () {
|
||||||
|
|
||||||
// Set sizes to map constant to value, easier to use with width or height
|
// Set sizes to map constant to value, easier to use with width or height
|
||||||
$sizes = array(
|
$sizes = array(
|
||||||
@@ -81,7 +81,7 @@ return array(
|
|||||||
* Predefined aspect ratios.
|
* Predefined aspect ratios.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
'aspect_ratio_constant' => function() {
|
'aspect_ratio_constant' => function () {
|
||||||
return array(
|
return array(
|
||||||
'3:1' => 3/1,
|
'3:1' => 3/1,
|
||||||
'3:2' => 3/2,
|
'3:2' => 3/2,
|
||||||
@@ -98,7 +98,7 @@ return array(
|
|||||||
/**
|
/**
|
||||||
* Set error reporting to match development or production environment
|
* Set error reporting to match development or production environment
|
||||||
*/
|
*/
|
||||||
'error_reporting' => function() {
|
'error_reporting' => function () {
|
||||||
error_reporting(-1); // Report all type of errors
|
error_reporting(-1); // Report all type of errors
|
||||||
ini_set('display_errors', 1); // Display all errors
|
ini_set('display_errors', 1); // Display all errors
|
||||||
ini_set('output_buffering', 0); // Do not buffer outputs, write directly
|
ini_set('output_buffering', 0); // Do not buffer outputs, write directly
|
||||||
|
Reference in New Issue
Block a user