mirror of
https://github.com/php/web-pecl.git
synced 2026-03-24 07:12:15 +01:00
43 lines
1.9 KiB
PHP
43 lines
1.9 KiB
PHP
<?php
|
|
|
|
/*
|
|
+----------------------------------------------------------------------+
|
|
| The PECL website |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1999-2019 The PHP Group |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| https://php.net/license/3_01.txt |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Stig S. Bakken <ssb@fast.no> |
|
|
| Martin Jansen <mj@php.net> |
|
|
| Tomas V.V.Cox <cox@php.net> |
|
|
| Richard Heyes <richard@php.net> |
|
|
| Ferenc Kovacs <tyrael@php.net> |
|
|
| Greg Beaver <cellog@php.net> |
|
|
| Pierre Joye <pierre@php.net> |
|
|
| Peter Kokot <petk@php.net> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
/**
|
|
* Application bootstrap and session initialization.
|
|
*/
|
|
|
|
use App\Auth;
|
|
|
|
require_once __DIR__.'/bootstrap.php';
|
|
require_once __DIR__.'/pear-format-html.php';
|
|
|
|
$auth = $container->get(Auth::class);
|
|
$auth_user = $container->get('auth_user');
|
|
|
|
if (!empty($_GET['logout']) && $_GET['logout'] === '1') {
|
|
$auth->logout();
|
|
}
|