More hacking to get vfsStream to load in Travis
This commit is contained in:
parent
2dad337c8d
commit
5d14f78d29
1 changed files with 9 additions and 3 deletions
|
@ -2,12 +2,18 @@
|
|||
|
||||
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',
|
||||
];
|
||||
|
||||
foreach ($vfs_files as $vfs_file)
|
||||
{
|
||||
if (file_exists($vfs_file))
|
||||
{
|
||||
require_once $vfs_file;
|
||||
}
|
||||
}
|
||||
|
||||
$root = vfsStream::setup('site');
|
||||
define('SITE_PATH', vfsStream::url('site/'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue