diff options
author | Camil Staps | 2016-08-01 11:30:19 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 11:30:19 +0200 |
commit | 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch) | |
tree | d704f32ee80088ba639ab51e5011932f9d45c747 /login-ajax.php | |
parent | Braintree status history (diff) |
Require paths
Diffstat (limited to 'login-ajax.php')
-rw-r--r-- | login-ajax.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-ajax.php b/login-ajax.php index baab859..8b4f4cb 100644 --- a/login-ajax.php +++ b/login-ajax.php @@ -27,7 +27,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -require_once('./conf.php'); +require_once(__DIR__ . '/conf.php'); if (!isset($_SESSION['login']) || $_SESSION['login'] === false) { print(json_encode(['success' => false, 'message' => 'You need to be logged in.'])); |