mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-04 03:18:49 +03:00
Resolve test load path
This commit is contained in:
parent
650133ae8a
commit
a827f8aded
5 changed files with 5 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ namespace RainLoop {
|
|||
namespace {
|
||||
// Enable SnappyMail Api and include index file
|
||||
$_ENV['SNAPPYMAIL_INCLUDE_AS_API'] = true;
|
||||
require '../index.php';
|
||||
require __DIR__ . '/../index.php';
|
||||
// define('APP_SALT', 'test-salt-'.bin2hex(random_bytes(8)));
|
||||
|
||||
$_COOKIE['smctoken'] = base64_encode(random_bytes(16));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue