Location: PHPKode > projects > RCS Man on the Web > RCSManager-0.2/config.php
<?php
/**
 * $Id$
 * $Log$
 */

// Information about this application
define(MyNAME,      "RCS Manager");
define(MySERVER,    $_SERVER["SERVER_NAME"]);
define(MyLOCATION,  "/~giovanni/RCSManager-0.2/");
define(MyURL,       "http://" . MySERVER . MyLOCATION);

define(MyDIR,      "/home/giovanni/public_html/RCSManager-0.2");
define(ClsDIR,     MyDIR . "/classes");
define(TplDIR,     MyDIR . "/templates");
define(TmpDIR,     "/tmp/rcsmanager");

define(WRAPPER, MyDIR . "/lowlevel/wrapper");

define(CssDIR, MyDIR . "/sheets");
define(CssLOCATION, MyURL . "/sheets/");
define(ImgLOCATION, MyURL . "/images/");

// Default information about current working
if(!defined(BASE))
{
  define(BASE, true);
  define(BASE_script, $PHP_SELF);
  define(BASE_location, MyLOCATION);
  define(BASE_url, MyURL);
  define(BASE_dir, "/home/giovanni");
  define(BASE_name, "Giovanni'z WorkDir");
  define(BASE_acl, "giovanni,webmaster");
}

//Information sur l'utilisateur
define(REMOTE_LOGIN, $PHP_AUTH_USER);
define(REMOTE_PASSWD, $PHP_AUTH_PW);

// Load common files
require("utils.php");
require(ClsDIR . "/xtpl.php");
require(ClsDIR . "/AbstractFile.php");
require(ClsDIR . "/xFolder.php");
require(ClsDIR . "/xFile.php");
require(ClsDIR . "/RCSFile.php");
require(ClsDIR . "/SYSFile.php");
require(ClsDIR . "/rcs.php");

// Les constructeurs de page
require(ClsDIR . "/AbstractPage.php");

if(!isset($headerfile))
{ $headerfile = TplDIR . "/entete.xtpl"; }
else 
{ $headerfile = TplDIR . "/$headerfile"; }

$iconsbank = "http://" . MySERVER . "/~giovanni/images/icons";
$icons = array(
	       "sysfile.free" => "$iconsbank/text.gif",
	       "sysfile.lock" => "$iconsbank/text.gif",
	       "rcsfile.free" => "$iconsbank/text.gif",
	       "rcsfile.lock" => "$iconsbank/text.gif",
	       "folder.close" => "$iconsbank/folder.gif",
	       "folder.open"  => "$iconsbank/folder.open.gif",
	       "folder.root"  => "$iconsbank/comp.blue.gif",
	       "download"     => "$iconsbank/disk3_0b.gif",
	       "checkin"      => "$iconsbank/install0d.gif",
	       "checkout"     => "$iconsbank/copy_to_disk0a.gif"
	       );
?>
Return current item: RCS Man on the Web