westdc-zf1/config/autoload/file.php

27 lines
797 B
PHP

<?php
/**
* Local Configuration Override
*
* This configuration override file is for overriding environment-specific and
* security-sensitive configuration information. Copy this file without the
* .dist extension at the end and populate values as needed.
*
* @NOTE: This file is ignored from Git by default with the .gitignore included
* in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
* credentials from accidentally being committed into version control.
*/
//缩略图大小必须从大到小排列
return array(
'upload' => './public/uploads/',
'urlbase' => "/uploads/",
'maxsize' => 10485760,
'ext' => '',
'makethumb' => "on",
'thumbsize' => "400,200",
'cut' => 'on',
'cutsize' => "340,220;200,100",
'imagemime' => "image/jpeg,image/png"
);