mirror of
https://github.com/BeitDina/AutoIndex.git
synced 2026-06-17 17:31:29 +02:00
Adding time to description for files changed in same day
This commit is contained in:
@@ -108,9 +108,9 @@ class Language
|
||||
arsort($pref);
|
||||
//find the first match that is available:
|
||||
foreach ($pref as $lang => $q)
|
||||
{
|
||||
{
|
||||
//replace line string to language file downscroll
|
||||
$lang = isset($_GET['lang']) ? str_replace('-', '_', $_GET['lang']) : str_replace('-', '_', $lang);
|
||||
$lang = isset($_GET['lang']) ? str_replace('-', '_', $_GET['lang']) : str_replace('-', '_', $lang);
|
||||
if (file_exists(@realpath(PATH_TO_LANGUAGES . $lang . LANGUAGE_FILE_EXT)))
|
||||
{
|
||||
return $lang;
|
||||
@@ -168,4 +168,4 @@ class Language
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user