fix for languages #9

This commit is contained in:
Prasath Mani 2017-10-11 17:10:18 +05:30 committed by GitHub
parent b78d7bbb91
commit fee37281ee

View file

@ -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']);