source:
Dev/trunk/classes/master.php
@
10
Last change on this file since 10 was 10, checked in by fpvanagthoven, 14 years ago | |
---|---|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[10] | 1 | <?php |
2 | ||
3 | /** | |
4 | * Description of master | |
5 | * | |
6 | * For autoloading of classes for example. | |
7 | * | |
8 | * @author fpvanagthoven | |
9 | */ | |
10 | // Determine our absolute document root | |
11 | define('DOC_ROOT', realpath(dirname(__FILE__) . '/../')); | |
12 | ||
13 | function __autoload($class_name) { | |
14 | require 'classes/' . $class_name . '.php'; | |
15 | } |
Note: See TracBrowser
for help on using the repository browser.