Created
August 7, 2011 14:04
-
-
Save Tyrael/1130402 to your computer and use it in GitHub Desktop.
autoloader for pyrus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @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