Location: PHPKode > projects > Blandware AtLeap Lite - CMS on PHP > atleaplite/server_options.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 options that may be different from server to server.
 * It's intended to be modified by administrator when tuning the AtleapLite
 * instance and when deploying an instance to the server.
 *
 * @package     AtleapLite
 * @author      Roman Puchkovskiy
 * @license     http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
 */

/**
 * Directory to store cache
 */
$cacheDir = '/tmp/';

/**
 * Use this setting to override directory in which session files are saved.
 */
$sessionDir = ini_get('session.save_path');

/**
 * Whether HTTPS should be used for protected area
 */
$useHTTPS = false;

/**
 * Cookie domain to use
 */
$cookieDomain = 'localhost';

/**
 * If true, bundled libraries from lib directory will be used instead of
 * libraries installed in system.
 */
$forceIncludePath = true;

/**
 * Path to lib directory
 */
$libPath = 'lib';

/**
 * Application context path. If application is deployed to root, this must be
 * empty ('')
 */
$contextPath = '/atleaplite';

/**
 * Base path to FCK Editor
 */
$fckBase = $contextPath . '/fckeditor/';

/**
 * Directory in which compiled Smarty templates will be stored. It must be
 * writable for user under which Apache is run.
 */
$smartyCompiledTemplatesDir = 'smarty/templates_c';

/**
 * URL to use when connecting to database. You can specify a charset here,
 * like 'mysql://hide@address.com/atleaplite?charset=cp1251';
 * make sure that charset here matches HTTP_CHARSET setting.
 * Also note that this URL (but with NO query string) must be specified in the
 * dataobject/dataobject.ini file.
 */
//$dsn = 'mysql://hide@address.com/atleaplite';
//$dsn = 'pgsql://atleaplite_user:hide@address.com/atleaplite';
$dsn = 'sqlite:///db/atleaplite';

/**
 * If true, MySQL trace mode will be overriden suppressing warnings
 */
$overrideMysqlTraceMode = false;

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