Правки мелочь XYZ

This commit is contained in:
2024-06-30 08:57:36 +05:00
parent 0b5903938c
commit d9e5677a8c
4 changed files with 8 additions and 8 deletions

View File

@ -124,9 +124,9 @@ public class DBMSRecords implements ServletContextAware {
//response.getWriter().append("Served at: ").append(request.getContextPath());
//Thread.sleep(5000); // sleep 5 seconds
String db_url="";
String db_login="";
String db_password="";
String db_url = "";
String db_login = "";
String db_password = "";
String data_dir = "";
String mail_host = "";
String mail_port = "";
@ -146,7 +146,7 @@ public class DBMSRecords implements ServletContextAware {
} catch (Exception e) {
e.printStackTrace();
logger.error("Error load application.properties",e);
}
}
String jspPath = context.getRealPath("/");
@ -2102,7 +2102,7 @@ public class DBMSRecords implements ServletContextAware {
} catch (Exception e) {
e.printStackTrace();
logger.error("Error load application.properties",e);
}
}
File file = new File(data_dir + "temp" + File.separator + fileName);
if(file.exists())

View File

@ -17,7 +17,7 @@
if(!isset($_SESSION['USER_ID'])) { $_SESSION['USER_ID']=null; }
if(!isset($_COOKIE['GUID'])) { $_COOKIE['GUID']=null; }
//include("../include/xmltools.php");
//include("../include/xmltools.xyz");
//include("../include/toExcell.php");
//require_once("config.xyz");

View File

@ -5,7 +5,7 @@
//http://leopard.in.ua/2008/09/20/otslezhivanie-istecheniya-sroka-dejstviya-sessij/
//session_save_path('C:\ses');
require_once("../include/tools.php");
require_once("../include/tools.xyz");
$host = $_SERVER['HTTP_HOST'];
$host = '.'.cutAfterLast($host,'.',2);

View File

@ -8,7 +8,7 @@ function trt(key)
{
if(key==null || key===undefined) return '';
let val=null;
if(g_translations !== undefined){
if(typeof g_translations !== 'undefined'){
val=g_translations[key];
if(val==null || val===undefined)
{