mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-04-30 04:08:53 +02:00
fix for languages #9
This commit is contained in:
parent
b78d7bbb91
commit
fee37281ee
@ -106,6 +106,8 @@ defined('FM_ROOT_PATH') || define('FM_ROOT_PATH', $root_path);
|
||||
defined('FM_ROOT_URL') || define('FM_ROOT_URL', ($is_https ? 'https' : 'http') . '://' . $http_host . (!empty($root_url) ? '/' . $root_url : ''));
|
||||
defined('FM_SELF_URL') || define('FM_SELF_URL', ($is_https ? 'https' : 'http') . '://' . $http_host . $_SERVER['PHP_SELF']);
|
||||
|
||||
$languages = fm_get_available_langs();
|
||||
|
||||
// logout
|
||||
if (isset($_GET['logout'])) {
|
||||
unset($_SESSION['logged']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user