Initial Commit Update Telerik

This commit is contained in:
shu committed 2022-01-07 19:26:33 +01:00
commit 57e1cda236
2174 files changed
+1202494

No files matched your search

@@ -0,0 +1,15 @@
<%@ Page Language="C#" %>
<script runat="server">
string lang = "en";
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
lang = Request.UserLanguages[0].Replace("-", "_");
if (string.IsNullOrEmpty(lang))
lang = "en";
string path = Server.MapPath("language/" + lang + ".js");
if (string.IsNullOrEmpty(path) || !System.IO.File.Exists(path))
lang = "en";
Response.Redirect("language/" + lang + ".js");
}
</script>