Skip to content

Commit 1e5a772

Browse files
committed
fix autoload location
1 parent 88fb5ee commit 1e5a772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webroot/panel/new_account.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3+
require_once __DIR__ . "/../../resources/autoload.php";
4+
35
use UnityWebPortal\lib\UnitySite;
46
use UnityWebPortal\lib\UnityGroup;
57
use UnityWebPortal\lib\UnitySQL;
68

7-
require_once __DIR__ . "/../../resources/autoload.php";
8-
99
if ($USER->exists()) {
1010
UnitySite::redirect($CONFIG["site"]["prefix"] . "/panel/index.php");
1111
}

0 commit comments

Comments
 (0)