This files helps each page find the templates and establish the * $Layout object. A copy of this file must be in each * directory of your website.

* *

For the system to work, you need to set the following two * variables in each Directory File:

* *

$DirLeader

* *

The dot leader needed to get up to the Base Directory of this * website. The term "Base Directory" means the location where your Home * Page resides. In other terms, the directory that is accessed when * someone types your domain, eg http://www.foo.org/, in * their web browser. While the Base Directory may be the same * as your Document Root in Apache (or other web server), the * Base Directory can also be a subdirectory of your Document Root.

* *

If the present directory:

* * * *

$IncludeDir

* *

The full or relative path to and the name of your Include * Directory. The "Include Directory" is the place where you keep your * commonly used PHP scripts. We're using this variable, despite the * existence of PHP's include_path, because some systems * restrict its use for security reasons.

* *

If your include files are in:

* * * *

Don't place trailing slashes on either of these variables.

* *

Make sure not to add characters, spaces or line breaks after the * closing PHP tag (?>) at the bottom of this file. Such additions cause * problems when PHP's header() function is called.

* *

This is part of the Layout Solution. See the layout.inc file * for more information, the license, etc.

* * @package LayoutSolution * @author Daniel Convissor * @copyright The Analysis and Solutions Company, 2001-2003 * @version $Name: rel-5-5 $ $Id: directory.inc,v 5.1 2003/05/07 04:20:02 danielc Exp $ * @link http://www.LayoutSolution.info/ */ $DirLeader = '.'; $ThisDir = dirname(__FILE__); $IncludeDir = '../includes'; /** * Get the main class file. */ #require(dirname(__FILE__).'/includes/layout.inc'); #$Layout = new LayoutSolution; # MAKE SURE NO CHARACTERS, SPACES OR LINE BREAKS # COME AFTER THIS CLOSING PHP TAG ........ ?>