cloud_bbb/tests/bootstrap.php

10 lines
242 B
PHP
Raw Normal View History

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