mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
8c48804b81
This lets us change the location of Core.php as long as we also manipulate the include path. This is necessary for https://github.com/silverstripe/silverstripe-framework/pull/6266
8 lines
203 B
PHP
8 lines
203 B
PHP
<?php
|
|
$frameworkPath = __DIR__ . '/../framework';
|
|
$frameworkDir = basename($frameworkPath);
|
|
if (!defined('BASE_PATH')) {
|
|
define('BASE_PATH', dirname($frameworkPath));
|
|
}
|
|
require_once 'Core/Core.php';
|