Skip to content

Instantly share code, notes, and snippets.

@shadab16
shadab16 / Symfony.php
Created November 30, 2010 19:35
Saved in /library/GeekPoint/Symfony.php for autoloading purpose.
<?php
/**
* A helper class for use in the Symfony Framework. Although there's no restriction to use it in
* any other framework or script. Just the autoloader needs to be setup before using this class.
* Sample code for initializing XenForo from your own script:
*
* <code>
* $startTime = microtime(true);
* $xenforoRoot = '/absolute/path/to/xenforo/root/directory';