Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
autoloader for pyrus
* @author Brett Bieber
* @desc autoload.php
// load PEAR2\Autoload first
require_once __DIR__ . '/../PEAR2_Autoload/src/PEAR2/Autoload.php';
// Setup the local source dir
PEAR2\Autoload::initialize(__DIR__ . '/src');
// Setup the Pyrus_Developer checkout
PEAR2\Autoload::initialize(__DIR__ . '/../Pyrus_Developer/src');
// Fall back to the local vendor dir
PEAR2\Autoload::initialize(__DIR__ . '/vendor/php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment