Added dependencies

Added a hack to work locally for me. May move to using composer to obtain / install vfsStream just didn't like the "vendor" directory, will look into using a custom directory so it can be hidden git ignored.
This commit is contained in:
Josh Sherman 2013-12-28 01:36:08 -05:00
parent 7c4e939e6e
commit 6b0fed32c6
2 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,12 @@
ob_start();
require_once '/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php';
$vfs_file = '/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php';
if (file_exists($vfs_file))
{
require_once $vfs_file;
}
$root = vfsStream::setup('site');
define('SITE_PATH', vfsStream::url('site/'));