Example #1
0
    define('ADVERTISE_RSS', 0);
}
if (!defined('SAVE_SEARCH_QUERIES')) {
    define('SAVE_SEARCH_QUERIES', 1);
}
if (!defined('SITE_WYSIWYG_EDITOR')) {
    define('SITE_WYSIWYG_EDITOR', 'ckeditor');
}
if (!defined('SESSION_TIMEOUT_ENABLE')) {
    define('SESSION_TIMEOUT_ENABLE', 1);
}
if (!defined('SESSION_TIMEOUT')) {
    define('SESSION_TIMEOUT', 7200);
}
if (!defined('SESSION_TIMEOUT_HTML')) {
    define('SESSION_TIMEOUT_HTML', exponent_unhtmlentities('<h3>Expired Login Session</h3>Your session has expired, because you were idle too long.  You will have to log back into the system to continue what you were doing.'));
}
if (!defined('ENABLE_SSL')) {
    define('ENABLE_SSL', 0);
}
if (!defined('SSL_URL')) {
    define('SSL_URL', 'https://my.domain/');
}
if (!defined('NONSSL_URL')) {
    define('NONSSL_URL', 'http://my.domain/');
}
if (!defined('FILE_DEFAULT_MODE_STR')) {
    define('FILE_DEFAULT_MODE_STR', '0666');
}
if (!defined('FILE_DEFAULT_MODE')) {
    define('FILE_DEFAULT_MODE', octdec(FILE_DEFAULT_MODE_STR + 0));
<?php

##################################################
#
# Copyright (c) 2004-2006 OIC Group, Inc.
# Written and Designed by James Hunt
#
# This file is part of Exponent
#
# Exponent is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License as published by the Free
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GPL: http://www.gnu.org/licenses/gpl.txt
#
##################################################
if (!defined('MAINTENANCE_MODE')) {
    define('MAINTENANCE_MODE', 0);
}
if (!defined('MAINTENANCE_MSG_HTML')) {
    define('MAINTENANCE_MSG_HTML', exponent_unhtmlentities('This site is currently down for maintenance.'));
}