From 99943002b57f8fd1149d9ee1dc26e44b41b3b301 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Wed, 31 Jul 2019 14:08:53 +0800 Subject: [PATCH 1/3] Use __DIR__ to avoid include_path dependency. --- www/account_manager/index.php | 6 +++--- www/change_password/index.php | 4 ++-- www/index.php | 2 +- www/log_in/index.php | 4 ++-- www/log_out/index.php | 2 +- www/setup/index.php | 4 ++-- www/setup/run_checks.php | 6 +++--- www/setup/setup_ldap.php | 6 +++--- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/www/account_manager/index.php b/www/account_manager/index.php index 42ab836..b1ccb04 100644 --- a/www/account_manager/index.php +++ b/www/account_manager/index.php @@ -1,8 +1,8 @@ diff --git a/www/setup/index.php b/www/setup/index.php index 2d7c9ef..ae115aa 100644 --- a/www/setup/index.php +++ b/www/setup/index.php @@ -1,7 +1,7 @@ Date: Wed, 31 Jul 2019 14:22:37 +0800 Subject: [PATCH 2/3] Fix all include_once() call with `__DIR__`-based paths. --- www/account_manager/groups.php | 6 +++--- www/account_manager/new_user.php | 6 +++--- www/account_manager/show_group.php | 6 +++--- www/account_manager/show_user.php | 6 +++--- www/change_password/index.php | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/www/account_manager/groups.php b/www/account_manager/groups.php index d9f5bfc..3d4671f 100644 --- a/www/account_manager/groups.php +++ b/www/account_manager/groups.php @@ -1,8 +1,8 @@ Date: Wed, 31 Jul 2019 14:30:23 +0800 Subject: [PATCH 3/3] Add missing paths. --- www/log_in/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/log_in/index.php b/www/log_in/index.php index b707358..d1cb154 100644 --- a/www/log_in/index.php +++ b/www/log_in/index.php @@ -1,7 +1,7 @@