diff --git a/application/config/config.php b/application/config/config.php index 064e4288..4ca2c802 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -17,7 +17,7 @@ $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') || - (isset($_SERVER['SERVER_PORT']) && (int)$_SERVER['SERVER_PORT'] === 443) || + (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443) || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') ? 'https://' : 'http://'; @@ -26,8 +26,7 @@ $domain = $_SERVER['HTTP_HOST'] ?? 'localhost'; $request_uri = dirname($_SERVER['SCRIPT_NAME']); -if ($request_uri === '.') -{ +if ($request_uri === '.') { $request_uri = ''; } @@ -118,7 +117,8 @@ $languages = [ 'sk' => 'slovak', 'es' => 'spanish', 'sv' => 'swedish', - 'tr' => 'turkish' + 'th' => 'thai', + 'tr' => 'turkish', ]; $config['language_codes'] = $languages; @@ -173,7 +173,8 @@ $config['available_languages'] = [ 'slovak', 'spanish', 'swedish', - 'turkish' + 'thai', + 'turkish', ]; /* @@ -196,7 +197,7 @@ $config['charset'] = 'UTF-8'; | setting this variable to TRUE (boolean). See the user guide for details. | */ -$config['enable_hooks'] = TRUE; +$config['enable_hooks'] = true; /* |-------------------------------------------------------------------------- @@ -256,8 +257,8 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; | use segment based URLs. | */ -$config['allow_get_array'] = TRUE; -$config['enable_query_strings'] = FALSE; +$config['allow_get_array'] = true; +$config['enable_query_strings'] = false; $config['controller_trigger'] = 'c'; $config['function_trigger'] = 'm'; $config['directory_trigger'] = 'd'; // experimental not currently in use @@ -350,9 +351,9 @@ $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ea_session'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = __DIR__ . '/../../storage/sessions'; -$config['sess_match_ip'] = FALSE; +$config['sess_match_ip'] = false; $config['sess_time_to_update'] = 300; -$config['sess_regenerate_destroy'] = FALSE; +$config['sess_regenerate_destroy'] = false; /* |-------------------------------------------------------------------------- @@ -368,7 +369,7 @@ $config['sess_regenerate_destroy'] = FALSE; $config['cookie_prefix'] = ''; $config['cookie_domain'] = ''; $config['cookie_path'] = '/'; -$config['cookie_secure'] = strpos($config['base_url'], 'https') !== FALSE; +$config['cookie_secure'] = strpos($config['base_url'], 'https') !== false; /* |-------------------------------------------------------------------------- @@ -382,7 +383,7 @@ $config['cookie_secure'] = strpos($config['base_url'], 'https') !== FALSE; | 'csrf_cookie_name' = The cookie name | 'csrf_expire' = The number in seconds the token should expire. */ -$config['csrf_protection'] = TRUE; +$config['csrf_protection'] = true; $config['csrf_token_name'] = 'csrf_token'; $config['csrf_cookie_name'] = 'csrf_cookie'; $config['csrf_expire'] = 7200; @@ -405,7 +406,7 @@ $config['csrf_exclude_uris'] = ['api/v1/.*', 'booking/.*', 'booking_cancellation | by the output class. Do not 'echo' any values with compression enabled. | */ -$config['compress_output'] = FALSE; +$config['compress_output'] = false; /* |-------------------------------------------------------------------------- @@ -430,7 +431,7 @@ $config['time_reference'] = 'local'; | in your view files. Options are TRUE or FALSE (boolean) | */ -$config['rewrite_short_tags'] = FALSE; +$config['rewrite_short_tags'] = false; /* |-------------------------------------------------------------------------- @@ -454,7 +455,7 @@ $config['proxy_ips'] = ''; | will control the number of requests a client can sent to the app. | */ -$config['rate_limiting'] = TRUE; +$config['rate_limiting'] = true; /* End of file config.php */ /* Location: ./application/config/config.php */ diff --git a/application/language/thai/calendar_lang.php b/application/language/thai/calendar_lang.php new file mode 100644 index 00000000..a60659fa --- /dev/null +++ b/application/language/thai/calendar_lang.php @@ -0,0 +1,84 @@ + +
+Directory access is forbidden.
+ + +