Compare commits
No commits in common. "402d9d8928f63b63206a183bffeca76f0517b014" and "9ad0f7dc38b9a22d0fc71de7b9bb7c0537fc794c" have entirely different histories.
402d9d8928
...
9ad0f7dc38
@ -10,13 +10,16 @@ function login()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
session_start();
|
|
||||||
|
|
||||||
if (isset($_POST['logout']))
|
if (isset($_POST['logout']))
|
||||||
{
|
{
|
||||||
unset($_SESSION['token']);
|
if (session_id() != "")
|
||||||
|
{
|
||||||
|
session_destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
|
||||||
if (isset($_POST['user']) && isset($_POST['password']))
|
if (isset($_POST['user']) && isset($_POST['password']))
|
||||||
{
|
{
|
||||||
login();
|
login();
|
||||||
|
@ -72,11 +72,6 @@ function get_struct($dir, $line)
|
|||||||
function read_tsv($dir, $path)
|
function read_tsv($dir, $path)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!is_file($path))
|
|
||||||
{
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
$lines = explode("\n", file_get_contents($path));
|
$lines = explode("\n", file_get_contents($path));
|
||||||
|
|
||||||
$shares = [];
|
$shares = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user