aboutsummaryrefslogtreecommitdiff
path: root/login.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 11:30:19 +0200
committerCamil Staps2016-08-01 11:30:19 +0200
commit8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch)
treed704f32ee80088ba639ab51e5011932f9d45c747 /login.php
parentBraintree status history (diff)
Require paths
Diffstat (limited to 'login.php')
-rw-r--r--login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/login.php b/login.php
index c902b10..ec223a5 100644
--- a/login.php
+++ b/login.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($_GET['logout'])) {
$_SESSION['login'] = false;