public
Created

autoloader for pyrus

  • Download Gist
autoload.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?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');

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.