More hacking to get vfsStream to load in Travis

This commit is contained in:
Joshua Sherman 2013-12-28 01:44:30 -05:00
parent 2dad337c8d
commit 5d14f78d29

View file

@ -2,11 +2,17 @@
ob_start(); ob_start();
$vfs_file = '/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php'; $vfs_files = [
'/usr/local/Cellar/php55/5.5.7/lib/php/vfsStream/vfsStream.php',
'./vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php',
];
if (file_exists($vfs_file)) foreach ($vfs_files as $vfs_file)
{ {
require_once $vfs_file; if (file_exists($vfs_file))
{
require_once $vfs_file;
}
} }
$root = vfsStream::setup('site'); $root = vfsStream::setup('site');