本文整理汇总了PHP中resolveUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP resolveUrl函数的具体用法?PHP resolveUrl怎么用?PHP resolveUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了resolveUrl函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ___init_ckeditor_data_dir
function ___init_ckeditor_data_dir($token, $first_c)
{
$dir_Uploads = resolveUrl('/data/Uploads');
$dir_first_c = resolveUrl('/data/Uploads/' . $first_c);
$dir_token_d = resolveUrl('/data/Uploads/' . $first_c . '/' . $token);
$dir_ckeditor_d = resolveUrl('/data/Uploads/' . $first_c . '/' . $token . '/ckeditor');
if (!file_exists($dir_Uploads) || !is_dir($dir_Uploads)) {
mkdir($dir_Uploads, 0777);
}
if (!file_exists($dir_first_c) || !is_dir($dir_first_c)) {
mkdir($dir_first_c, 0777);
}
if (!file_exists($dir_token_d) || !is_dir($dir_token_d)) {
mkdir($dir_token_d, 0777);
}
if (!file_exists($dir_ckeditor_d) || !is_dir($dir_ckeditor_d)) {
mkdir($dir_ckeditor_d, 0777);
}
if (!file_exists($dir_ckeditor_d) || !is_dir($dir_ckeditor_d)) {
echo '初始化数据存放目录失败,不能使用上传功能!';
exit;
} else {
return $dir_ckeditor_d;
}
}
示例2: __construct
/**
* Get ResourceType configuration
*
* @param string $resourceTypeNode
* @return array
*
*/
function __construct($resourceTypeNode)
{
if (isset($resourceTypeNode["name"])) {
$this->_name = $resourceTypeNode["name"];
}
if (isset($resourceTypeNode["url"])) {
$this->_url = $resourceTypeNode["url"];
}
if (!strlen($this->_url)) {
$this->_url = "/";
} else {
if (substr($this->_url, -1, 1) != "/") {
$this->_url .= "/";
}
}
if (isset($resourceTypeNode["maxSize"])) {
$this->_maxSize = QFinder_Connector_Utils_Misc::returnBytes((string) $resourceTypeNode["maxSize"]);
}
if (isset($resourceTypeNode["directory"])) {
$this->_directory = $resourceTypeNode["directory"];
}
if (!strlen($this->_directory)) {
$this->_directory = resolveUrl($this->_url);
}
if (isset($resourceTypeNode["allowedExtensions"])) {
if (is_array($resourceTypeNode["allowedExtensions"])) {
foreach ($resourceTypeNode["allowedExtensions"] as $e) {
$this->_allowedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["allowedExtensions"] = trim((string) $resourceTypeNode["allowedExtensions"]);
if (strlen($resourceTypeNode["allowedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["allowedExtensions"]);
foreach ($extensions as $e) {
$this->_allowedExtensions[] = strtolower(trim($e));
}
}
}
}
if (isset($resourceTypeNode["deniedExtensions"])) {
if (is_array($resourceTypeNode["deniedExtensions"])) {
foreach ($resourceTypeNode["deniedExtensions"] as $extension) {
$this->_deniedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["deniedExtensions"] = trim((string) $resourceTypeNode["deniedExtensions"]);
if (strlen($resourceTypeNode["deniedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["deniedExtensions"]);
foreach ($extensions as $e) {
$this->_deniedExtensions[] = strtolower(trim($e));
}
}
}
}
}
示例3: CKFinder_Connector_Core_ResourceTypeConfig
/**
* Get ResourceType configuration
*
* @param string $resourceTypeNode
* @return array
*
*/
function CKFinder_Connector_Core_ResourceTypeConfig($resourceTypeNode)
{
if (isset($resourceTypeNode["name"])) {
$this->_name = $resourceTypeNode["name"];
}
if (isset($resourceTypeNode["url"])) {
$this->_url = $resourceTypeNode["url"];
}
if (!strlen($this->_url)) {
$this->_url = "/";
} else {
if (substr($this->_url, -1, 1) != "/") {
$this->_url .= "/";
}
}
if (isset($resourceTypeNode["maxSize"])) {
$this->_maxSize = CKFinder_Connector_Utils_Misc::returnBytes((string) $resourceTypeNode["maxSize"]);
}
if (isset($resourceTypeNode["directory"])) {
$this->_directory = $resourceTypeNode["directory"];
}
if (!strlen($this->_directory)) {
$this->_directory = resolveUrl($this->_url);
}
if (isset($resourceTypeNode["allowedExtensions"])) {
if (is_array($resourceTypeNode["allowedExtensions"])) {
foreach ($resourceTypeNode["allowedExtensions"] as $extension) {
$this->_allowedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["allowedExtensions"] = trim((string) $resourceTypeNode["allowedExtensions"]);
if (strlen($resourceTypeNode["allowedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["allowedExtensions"]);
foreach ($extensions as $e) {
$this->_allowedExtensions[] = strtolower(trim($e));
}
}
}
}
if (isset($resourceTypeNode["deniedExtensions"])) {
if (is_array($resourceTypeNode["deniedExtensions"])) {
foreach ($resourceTypeNode["deniedExtensions"] as $extension) {
$this->_deniedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["deniedExtensions"] = trim((string) $resourceTypeNode["deniedExtensions"]);
if (strlen($resourceTypeNode["deniedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["deniedExtensions"]);
foreach ($extensions as $e) {
$this->_deniedExtensions[] = strtolower(trim($e));
}
}
}
}
$_view = "";
if (isset($resourceTypeNode["defaultView"])) {
$_view = $resourceTypeNode["defaultView"];
}
if (!strlen($_view) && isset($GLOBALS['config']['DefaultDisplaySettings']['view'])) {
$_view = $GLOBALS['config']['DefaultDisplaySettings']['view'];
}
if ($_view == "List") {
$this->_defaultView = "List";
}
}
示例4: Array
'directory' => $baseDir,
'maxSize' => 0,
'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => 'Files', // Single quotes not allowed
'url' => $baseUrl,
'directory' => $baseDir,
'maxSize' => 0,
'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip',
'deniedExtensions' => '');
*/
$uploadFile = substr($phpSelf, 0, stripos($phpSelf, 'public'));
$uploadFile = resolveUrl($uploadFile . '/App/Runtime/Data/upload.php');
$upload = (include_once $uploadFile);
$upload['UPLOAD_FILE_TYPE'] = str_replace('|', ',', $upload['UPLOAD_FILE_TYPE']);
$config['ResourceType'][] = array('name' => 'Files', 'url' => $baseUrl, 'directory' => $baseDir, 'maxSize' => $upload['MAX_UPLOAD_SIZE'], 'allowedExtensions' => $upload['UPLOAD_FILE_TYPE'], 'deniedExtensions' => '');
$config['ResourceType'][] = array('name' => 'Images', 'url' => $baseUrl, 'directory' => $baseDir, 'maxSize' => $upload['MAX_UPLOAD_SIZE'], 'allowedExtensions' => $upload['UPLOAD_FILE_TYPE'], 'deniedExtensions' => 'asp,aspx,jsp,php,ashx,js,html,htm');
$config['ResourceType'][] = array('name' => 'Flash', 'url' => $baseUrl, 'directory' => $baseDir, 'maxSize' => $upload['MAX_UPLOAD_SIZE'], 'allowedExtensions' => 'swf,flv', 'deniedExtensions' => 'asp,aspx,jsp,php,ashx,js,html,htm');
/*
Due to security issues with Apache modules, it is recommended to leave the
following setting enabled.
How does it work? Suppose the following:
- If "php" is on the denied extensions list, a file named foo.php cannot be
uploaded.
- If "rar" (or any other) extension is allowed, one can upload a file named
foo.rar.
示例5: resolveUrl
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl.
// WARNING: resolveUrl() *will not work* if $baseUrl does not start with a slash ("/"),
// for example if $baseDir is set to http://example.com/ckfinder/files/
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl($baseUrl);
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => true, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*
RoleSessionVar : the session variable name that CKFinder must use to retrieve
示例6: resolveUrl
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl.
// WARNING: resolveUrl() *will not work* if $baseUrl does not start with a slash ("/"),
// for example if $baseDir is set to http://example.com/ckfinder/files/
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl($baseUrl) . '/golfapp/cidev/';
//-
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*
示例7: CKEditor_Connector_Core_ResourceTypeConfig
/**
* Get ResourceType configuration
*
* @param string $resourceTypeNode
* @return array
*
*/
function CKEditor_Connector_Core_ResourceTypeConfig($resourceTypeNode)
{
if (isset($resourceTypeNode["name"])) {
$this->_name = $resourceTypeNode["name"];
}
if (isset($resourceTypeNode["url"])) {
$this->_url = $resourceTypeNode["url"];
}
if (!strlen($this->_url)) {
$this->_url = "/";
} else {
if (substr($this->_url, -1, 1) != "/") {
$this->_url .= "/";
}
}
if (isset($resourceTypeNode["directory"])) {
$this->_directory = $resourceTypeNode["directory"];
}
if (!strlen($this->_directory)) {
$this->_directory = resolveUrl($this->_url);
}
if (isset($resourceTypeNode["allowedExtensions"])) {
if (is_array($resourceTypeNode["allowedExtensions"])) {
foreach ($resourceTypeNode["allowedExtensions"] as $extension) {
$this->_allowedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["allowedExtensions"] = trim((string) $resourceTypeNode["allowedExtensions"]);
if (strlen($resourceTypeNode["allowedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["allowedExtensions"]);
foreach ($extensions as $e) {
$this->_allowedExtensions[] = strtolower(trim($e));
}
}
}
}
if (isset($resourceTypeNode["deniedExtensions"])) {
if (is_array($resourceTypeNode["deniedExtensions"])) {
foreach ($resourceTypeNode["deniedExtensions"] as $extension) {
$this->_deniedExtensions[] = strtolower(trim((string) $e));
}
} else {
$resourceTypeNode["deniedExtensions"] = trim((string) $resourceTypeNode["deniedExtensions"]);
if (strlen($resourceTypeNode["deniedExtensions"])) {
$extensions = explode(",", $resourceTypeNode["deniedExtensions"]);
foreach ($extensions as $e) {
$this->_deniedExtensions[] = strtolower(trim($e));
}
}
}
}
}
示例8: resolveUrl
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl.
// WARNING: resolveUrl() *will not work* if $baseUrl does not start with a slash ("/"),
// for example if $baseDir is set to http://example.com/ckfinder/files/
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl($baseUrl);
$ojRootDir = resolveUrl($ojRootURL);
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*
RoleSessionVar : the session variable name that CKFinder must use to retrieve
示例9: isset
return isset($_SESSION['login_id']) && ($_SESSION['login_level'] == 4 || $_SESSION['login_level'] == 3);
}
$config['LicenseName'] = '';
$config['LicenseKey'] = '';
$baseUrl = '/';
$baseDir = resolveUrl($baseUrl);
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
$config['RoleSessionVar'] = 'CKFinder_UserRole';
$config['AccessControl'][] = array('role' => '*', 'resourceType' => '*', 'folder' => '/', 'folderView' => true, 'folderCreate' => true, 'folderRename' => true, 'folderDelete' => true, 'fileView' => true, 'fileUpload' => true, 'fileRename' => true, 'fileDelete' => true);
$config['DefaultResourceTypes'] = '';
$config['ResourceType'][] = array('name' => 'Files', 'url' => $baseUrl . 'files', 'directory' => $baseDir . 'files', 'maxSize' => 0, 'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip', 'deniedExtensions' => '');
$config['ResourceType'][] = array('name' => 'Images', 'url' => $baseUrl . 'images', 'directory' => $baseDir . 'images', 'maxSize' => 0, 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png', 'deniedExtensions' => '');
$config['ResourceType'][] = array('name' => 'hinh', 'url' => $baseUrl . 'hinh', 'directory' => $baseDir . 'hinh', 'maxSize' => 0, 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png,zip', 'deniedExtensions' => '');
$config['ResourceType'][] = array('name' => 'hinh-bai-viet', 'url' => $baseUrl . 'hinh-bai-viet', 'directory' => $baseDir . 'hinh-bai-viet', 'maxSize' => 0, 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png,zip', 'deniedExtensions' => '');
$config['ResourceType'][] = array('name' => 'Mp3', 'url' => '/mp3', 'directory' => resolveUrl('/mp3/'), 'maxSize' => 0, 'allowedExtensions' => 'mp3,wav,wma,zip', 'deniedExtensions' => '');
$config['CheckDoubleExtension'] = true;
$config['DisallowUnsafeCharacters'] = false;
$config['FilesystemEncoding'] = 'UTF-8';
$config['SecureImageUploads'] = true;
$config['CheckSizeAfterScaling'] = true;
$config['HtmlExtensions'] = array('html', 'htm', 'xml', 'js');
$config['HideFolders'] = array(".*", "CVS");
$config['HideFiles'] = array(".*");
$config['ChmodFiles'] = 0777;
$config['ChmodFolders'] = 0755;
$config['ForceAscii'] = false;
$config['XSendfile'] = false;
include_once "plugins/imageresize/plugin.php";
include_once "plugins/fileeditor/plugin.php";
include_once "plugins/zip/plugin.php";
示例10: basename
$channel->addChild("generator", basename(__FILE__));
$channel->addChild("wxr_version", "1.2", $namespaces["wp"]);
// base_site_url is MUST. WordPress Importer warns if this does not exist
$channel->addChild("base_site_url", "http://asiajin.com/blog", $namespaces["wp"]);
foreach ($json["stories"] as $item) {
$rssItem = $channel->addChild("item");
$content = null;
if (array_key_exists('story_content', $item)) {
$content = $item['story_content'];
} else {
$content = '';
}
if (isset($item["story_title"])) {
$rssItem->addChild("title", $item["story_title"]);
}
$permaLink = resolveUrl($item['story_permalink']);
$rssItem->addChild("link", $permaLink);
$pubDate = $rssItem->addChild("pubDate", gmdate("D, j M Y G:i:s O", $item["story_timestamp"]));
$rssItem->addChild("post_date", date("Y-m-d H:i:s", $item["story_timestamp"]), $namespaces["wp"]);
if (isset($item["story_authors"])) {
$rssCreator = $rssItem->addChild("creator", null, $namespaces["dc"]);
$rssCreator->addCData($item["story_authors"]);
}
$rssContent = $rssItem->addChild("encoded", null, $namespaces["content"]);
$rssContent->addCData($item["story_content"]);
$excerpt = $rssItem->addChild("encoded", null, $namespaces["excerpt"]);
$excerpt->addCData('');
$rssItem->addChild("comment_status", "open", $namespaces["wp"]);
$rssItem->addChild("ping_status", "open", $namespaces["wp"]);
// make a Wordpress friendly title slug for the post
if (isset($item["story_title"])) {
示例11: resolveUrl
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl.
// WARNING: resolveUrl() *will not work* if $baseUrl does not start with a slash ("/"),
// for example if $baseDir is set to http://example.com/ckfinder/files/
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl($_SERVER['DOCUMENT_ROOT']);
//$baseDir = 'C:/xampp/htdocs/memberxpress/public/uploads/library/news/';
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*
示例12: directory
/*
$baseDir : the path to the local directory (in the server) which points to the
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl:
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl('/app/webroot/' . $baseUrl);
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*
RoleSessionVar : the session variable name that CKFinder must use to retrieve
示例13: directory
ATTENTION: The trailing slash is required.
*/
$baseUrl = '/image/userfiles/';
/*
$baseDir : the path to the local directory (in the server) which points to the
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.
Examples:
// You may point it to a directory directly:
$baseDir = '/home/login/public_html/ckfinder/files/';
$baseDir = 'C:/SiteDir/CKFinder/userfiles/';
// Or you may let CKFinder discover the path, based on $baseUrl:
$baseDir = resolveUrl($baseUrl);
ATTENTION: The trailing slash is required.
*/
$baseDir = resolveUrl('/image/userfiles/');
//echo $baseDir;
/*
* ### Advanced Settings
*/
/*
Thumbnails : thumbnails settings. All thumbnails will end up in the same
directory, no matter the resource type.
*/
$config['Thumbnails'] = array('url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', 'enabled' => true, 'directAccess' => false, 'maxWidth' => 100, 'maxHeight' => 100, 'bmpSupported' => false, 'quality' => 80);
/*
Set the maximum size of uploaded images. If an uploaded image is larger, it
gets scaled down proportionally. Set to 0 to disable this feature.
*/
$config['Images'] = array('maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);
/*