Location: PHPKode > projects > SAPID > etc/rc.conf.php
<?PHP
// vim: set expandtab tabstop=4 shiftwidth=4:
// +----------------------------------------------------------------------+
// | SAPID: XML Sapiens Engine Demonstrator                               |
// +----------------------------------------------------------------------+
// | Author:  Max Baryshnikov aka Mephius <hide@address.com>	                  |
// | Copyright (c) 2004 Max Baryshnikov                                   |
// | http://sapid.sourceforge.net                                         |
// +----------------------------------------------------------------------+
// | This source file is free software; you can redistribute it and/or    |
// | modify it under the terms of the GNU Lesser General Public           |
// | License as published by the Free Software Foundation; either         |
// | version 2.1 of the License, or (at your option) any later version.   |
// |                                                                      |
// | This source file is distributed in the hope that it will be useful,  |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    |
// | Lesser General Public License for more details.                      |
// +----------------------------------------------------------------------+
// Release: 05/06/05 (dd/mm/yy)
// $Id: rc.conf.php,v 1.11 2006/02/20 08:27:31 sheiko Exp $

$env["http_path"]=$http_path="http://sapid-dev.korvin.rh8.rg/";
$admin_login="pass";
$admin_path="area51";
$MODREWRITE="disabled";

$env["argv"]=array();
$DEMO_MODE="disabled";

// List of legal IPs for administrative area. It's possible to use mask (*)
//$GLOBALS["LegalIPsList"] = array("192.168.1.84");

define("PHP_DATEFORMAT", "d/m/Y");
define("OBJ_CACHE", false); //Speed up ddc compilation if set to true. Currently gives 5-10% off page generation time.
define("DEBUG", true);	//Debug trigger. This option affects TRACE mode and performance monitoring
define("DAL", "files"); //Set data abstraction layer to files
define("COMPRESS_XML", false); //Compress xml tree output with gzip
define("ALLOW_REGISTRATION", true); //Allow or not user registration at site
define("REGISTRATION_GROUP", "secret"); //Group name, where newly registered users will be placed


define("VDB_SAMEIP_WRITE_DELAY", 999999); // It sets the minimum amount of time (in minutes) needed between two successful write attempt from the same ip

define("SAPID_STARTED", true);


$env["default_charset"]=$default_charset="windows-1251";
$env["default_language"]=$default_language = "en";
//$root_path = '/home/www/sapid.rh8.rg/html/';
$root_path=realpath(dirname(__FILE__) . "/../") . "/";
define("ROOT_PATH", $root_path);

$SystemTextAreaStyle = "background-color: white; font-family: Courier new,Tahoma, Arial; font-size: 12px;";

$FEEDBACK_EMAIL = "hide@address.com";
$FirstTrackItemName = "Home";
Error_Reporting(1+2+4);

$VERSION = "1.2.3.03";
$CONFIGURED="05/06/2005 at 15:34";

//Syntax highlighting options
ini_set("highlight.bg",      "#FFFFFF");    # white
ini_set("highlight.comment", "#808080");    # gray
ini_set("highlight.default", "#660000");    # brown
ini_set("highlight.html",    "#0000FF");    # blue
ini_set("highlight.keyword", "#0000FF");    # blue
ini_set("highlight.string",  "#007700");    # green

?>
Return current item: SAPID