Updated configurations for deployment
This commit is contained in:
parent
81a1ac85af
commit
7b30f17065
9 changed files with 396 additions and 214 deletions
|
|
@ -50,6 +50,13 @@
|
|||
</jsp:useBean>
|
||||
<jsp:useBean id="user" class="it.acxent.pg.Users" type="it.acxent.pg.Users" scope="request" >
|
||||
</jsp:useBean>
|
||||
<%
|
||||
String faceAiFeatureEnabledValue = System.getenv("FACEAI_FEATURE_ENABLED");
|
||||
if (faceAiFeatureEnabledValue == null) {
|
||||
faceAiFeatureEnabledValue = System.getProperty("FACEAI_FEATURE_ENABLED", "0");
|
||||
}
|
||||
boolean faceAiFeatureEnabled = "1".equals(faceAiFeatureEnabledValue) || "true".equalsIgnoreCase(faceAiFeatureEnabledValue) || "yes".equalsIgnoreCase(faceAiFeatureEnabledValue) || "on".equalsIgnoreCase(faceAiFeatureEnabledValue);
|
||||
%>
|
||||
<!-- InstanceEndEditable -->
|
||||
<!-- InstanceBeginEditable name="doctitle" -->
|
||||
<title><acx:lang>Regalami Un Sorriso ETS - Gare</acx:lang><%=CR.getTipoGara().getDescrizione()%></title>
|
||||
|
|
@ -313,6 +320,11 @@
|
|||
<!-- Footer -->
|
||||
<jsp:include page="_inc_footer.jsp" flush="true" />
|
||||
|
||||
<script>
|
||||
window.faceAiConfig = window.faceAiConfig || {};
|
||||
window.faceAiConfig.enabled = <%= faceAiFeatureEnabled ? "true" : "false" %>;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$('#datepicker-sport').datepicker({
|
||||
language: "it"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue