PHP Classes

File: app/

Recommend this page to a friend!
  Classes of Stefan Lwe  >  Reingold Tilford  >  app/  >  Download  
File: app/
Role: Configuration script
Content type: text/plain
Description: bootstrap file of the package
Class: Reingold Tilford
Render tree structures in several image formats
Author: By
Last change:
Date: 10 years ago
Size: 571 bytes


Class file image Download

// path to the root folder of the installation
define('INSTALLATION_FOLDER', str_replace('\\', '/', realpath(__DIR__.'/..')));

// path to the source folder

// path to the data folder

// load the class of the autoloader statically
require_once SOURCE_FOLDER.'/Utils/Autoload/';

// instantiate it ...
$autoloader = new Utils\Autoload\Autoloader(SOURCE_FOLDER.'/');

// ... and register it
spl_autoload_register(array($autoloader, 'autoload'));

For more information send a message to info at phpclasses dot org.