1
1
Fork 0

Set system.hostname in test bootstrap

This commit is contained in:
Hypolite Petovan 2018-07-08 01:46:22 -04:00
parent 59c38d1b73
commit 8fe9a46ccf

View file

@ -14,6 +14,7 @@ require_once __DIR__.'/../include/api.php';
new App(dirname(__DIR__));
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
\Friendica\Core\Config::set('system', 'hostname', 'localhost');
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
// Backward compatibility