cloud_bbb/tests/bootstrap.php

11 lines
239 B
PHP
Raw Normal View History

2020-06-10 13:55:21 +02:00
<?php
if (!($ncRoot = getenv('NEXTCLOUD_ROOT'))) {
$ncRoot = __DIR__ . '/../../..';
2020-06-10 13:55:21 +02:00
}
echo "Using ".realpath($ncRoot)." as Nextcloud root.\n\n";
require_once $ncRoot . '/lib/base.php';
require_once __DIR__ . '/../vendor/autoload.php';