Skip to content

Instantly share code, notes, and snippets.

@helgi
Created July 26, 2011 19:03
Show Gist options
  • Save helgi/1107620 to your computer and use it in GitHub Desktop.
Save helgi/1107620 to your computer and use it in GitHub Desktop.
Sample Pyrus_Dev
<?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/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