Fixed #17
This commit is contained in:
parent
ff31885c93
commit
7431986a96
@ -10,7 +10,8 @@
|
||||
".git",
|
||||
".eslintrc",
|
||||
".nova",
|
||||
"*.log"
|
||||
"*.log",
|
||||
"config.php"
|
||||
],
|
||||
"remotePath" : "\/var\/www\/html\/Dragonpolls",
|
||||
"remoteURL" : "https:\/\/phlaym.net\/Dragonpolls\/",
|
||||
|
7
logout.php
Normal file
7
logout.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ .'/bootstrap.php';
|
||||
|
||||
$api->logout();
|
||||
$url = empty($_SERVER['HTTP_REFERER']) ? 'index.php' : $_SERVER['HTTP_REFERER'];
|
||||
redirect($url);
|
Loading…
Reference in New Issue
Block a user