File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ use DevNet\System\Runtime\Launcher;
44
55$root = dirname(__FILE__, 2);
66
7- // Loads local devnet core host if exist
8- if (is_file($root . '/vendor/devnet/core /host/corehost .php')) {
9- require $root . '/vendor/devnet/core /host/corehost .php';
7+ // Loads local devnet host if exist
8+ if (is_file($root . '/vendor/devnet/system /host.php')) {
9+ require $root . '/vendor/devnet/system /host.php';
1010}
1111
1212// Gets the path environment variable
@@ -16,10 +16,10 @@ if (PHP_OS_FAMILY == 'Windows') {
1616 $paths = explode(':', getenv('PATH'));
1717}
1818
19- // Search for the global devnet core host
19+ // Search for the global devnet host
2020foreach ($paths as $path) {
21- if (is_file($path . '/../devnet/core /host/corehost .php')) {
22- require $path . '/../devnet/core /host/corehost .php';
21+ if (is_file($path . '/../devnet/system /host.php')) {
22+ require $path . '/../devnet/system /host.php';
2323 break;
2424 }
2525}
You can’t perform that action at this time.
0 commit comments