diff options
Diffstat (limited to 'account/register.php')
| -rw-r--r-- | account/register.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/account/register.php b/account/register.php index 1da89a0..76dc27c 100644 --- a/account/register.php +++ b/account/register.php @@ -1,6 +1,6 @@ <?php -include "../../src/accounts.php"; -include_once "../../src/alert.php"; +include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; if (authorize_user()) { header("Location: /account"); @@ -12,9 +12,9 @@ if (!ACCOUNT_REGISTRATION_ENABLE) { exit; } -include "../../src/partials.php"; -include_once "../../src/config.php"; -include_once "../../src/utils.php"; +include "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; if ($_SERVER["REQUEST_METHOD"] == "POST") { if (!isset($_POST["username"], $_POST["password"])) { |
