Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 388 Bytes
<?php
/**
* gChartPhp init script.
* Sets up include paths based on the directory this file is in.
* Registers an SPL class autoload function.
*
* Taken from https://github.com/pda/pheanstalk/blob/master/pheanstalk_init.php and modified
*/
$gChartClassRoot = dirname(__FILE__);
require_once($gChartClassRoot. '/ClassLoader.php');
gChart_ClassLoader::register($gChartClassRoot);