Delete protection script for GitLab

This commit is contained in:
Michel Roux 2014-11-13 22:15:31 +01:00
parent f1d7e33fd9
commit 8ee5aa3ed4

View File

@ -1,14 +1,5 @@
<?php
session_start();
if (defined('ONGITLAB') && ONGITLAB) {
if (!isset($_COOKIE['remember_user_token'])) {
header('Location: /');
exit;
}
}
function ansi2html($string)
{
$dictionary = array(