PHP Classes

File: samples/config.inc.php

Recommend this page to a friend!
  Classes of Tom Schaefer   Closure Table   samples/config.inc.php   Download  
File: samples/config.inc.php
Role: Configuration script
Content type: text/plain
Description: main config
Class: Closure Table
Manage transitive closure tables stored in MySQL
Author: By
Last change: change load of the sample defines
Date: 14 years ago
Size: 252 bytes
 

Contents

Class file image Download
<?php
define
("VERSION", "0.1.1");
define("DS", DIRECTORY_SEPARATOR);
define("ROOT", dirname(dirname(__FILE__)));
define("CLASSES", ROOT);

define("ROOTDIR", ROOT);
define("CLASSESDIR", CLASSES);

include_once(
CLASSESDIR . DS . "index.php");