Location: PHPKode > projects > Blandware AtLeap Lite - CMS on PHP > atleaplite/include/global_settings.php
<?php
/*
 *  Copyright 2008 Blandware (http://www.blandware.com)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/**
 * This file contains configuration which is being taken from the global
 * properties.
 *
 * @package     AtleapLite
 * @author      Roman Puchkovskiy
 * @license     http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
 */

/**
 * Included to allow some settings to be taken from global properties
 */
require_once 'include/util/global_properties.php';

/**
 * Width of image thumbnail
 */
$thumbnailWidth         = getGlobalProperty('thumbnailWidth', 160);
/**
 * Height of image thumbnail
 */
$thumbnailHeight        = getGlobalProperty('thumbnailHeight', 120);

/**
 * Maximum width of image to be saved to DB
 */
$maxImageWidth          = getGlobalProperty('maxImageWidth', 600);
/**
 * Maximum height of image to be saved to DB
 */
$maxImageHeight         = getGlobalProperty('maxImageHeight', 400);

?>
Return current item: Blandware AtLeap Lite - CMS on PHP