small adjustments

This commit is contained in:
HB9HIL
2024-07-08 19:41:24 +02:00
parent 16d24f348b
commit 2f898bd2c8
3 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ $EMULATEGETTEXT = 0;
$CURRENTLOCALE = '';
/* Class to hold a single domain included in $text_domains. */
class domain
{
var $l10n;
var $path;
@@ -144,7 +143,7 @@ function _get_reader($domain = null, $category = 5, $enable_cache = true)
}
$base_path = __DIR__ . '/locale/' . $locale . '/' . $subpath;
$full_path = realpath($base_path);
error_log("Fullpath: ".$full_path);
// error_log("Fullpath: ".$full_path);
if (file_exists($full_path)) {
$input = new FileReader($full_path);
break;

View File

@@ -8,11 +8,13 @@
*
*/
$config['gt_install_domain'] = 'installer';
$config['gt_install_cookie'] = 'installer_language';
$config['gt_install_languages'] = array(
$gt_conf['gt_install_domain'] = 'installer';
$gt_conf['gt_install_cookie'] = 'installer_language';
$gt_conf['gt_install_languages'] = array(
'bulgarian' => array(
'name' => 'Български',

View File

@@ -1,5 +1,4 @@
<?php
error_log("########################################## NEW LOAD ###############################################");
/*
New Wavelog Installer