Skip to content

Instantly share code, notes, and snippets.

@saltybeagle
Created July 8, 2011 14:45
Show Gist options
  • Save saltybeagle/1071995 to your computer and use it in GitHub Desktop.
Save saltybeagle/1071995 to your computer and use it in GitHub Desktop.
Sample autoload file for developing pyrus
<?php
require_once __DIR__ . '/vendor/php/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');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment