Skip to content

Commit ab936eb

Browse files
committed
fix require in ajax
1 parent a7b441e commit ab936eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webroot/js/ajax/ssh_generate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require "../../../resources/autoload.php";
3+
require_once __DIR__ . "/../../../resources/autoload.php";
44

55
use phpseclib3\Crypt\EC;
66
use UnityWebPortal\lib\UnityHTTPD;

webroot/js/ajax/ssh_validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require "../../../resources/autoload.php";
3+
require_once __DIR__ . "/../../../resources/autoload.php";
44

55
use UnityWebPortal\lib\UnityHTTPD;
66

0 commit comments

Comments
 (0)