mirror of
https://github.com/BeitDina/AutoIndex.git
synced 2026-05-07 10:15:55 +02:00
Update UserLoggedIn.php
This commit is contained in:
committed by
GitHub
parent
669cdf2b4f
commit
94c3b03d9c
@@ -48,7 +48,8 @@ class UserLoggedIn extends User
|
||||
{
|
||||
global $config, $words, $request, $you, $subdir;
|
||||
|
||||
$autoindex_u = empty($request->server('PHP_SELF')) ? $config->__get('base_dir') : $request->server('PHP_SELF');
|
||||
$PHP_SELF = $request->server('PHP_SELF');
|
||||
$autoindex_u = empty($PHP_SELF) ? $config->__get('base_dir') : $PHP_SELF;
|
||||
$autoindex_a = str_replace(array('&logout=true', '&logout=true'), array('', ''), $autoindex_u);
|
||||
|
||||
$txt = '<p><a class="autoindex_a" href="' . Url::html_output($autoindex_a)
|
||||
|
||||
Reference in New Issue
Block a user