Правки мелочь XYZ
This commit is contained in:
@ -17,7 +17,7 @@
|
|||||||
if(!isset($_SESSION['USER_ID'])) { $_SESSION['USER_ID']=null; }
|
if(!isset($_SESSION['USER_ID'])) { $_SESSION['USER_ID']=null; }
|
||||||
if(!isset($_COOKIE['GUID'])) { $_COOKIE['GUID']=null; }
|
if(!isset($_COOKIE['GUID'])) { $_COOKIE['GUID']=null; }
|
||||||
|
|
||||||
//include("../include/xmltools.php");
|
//include("../include/xmltools.xyz");
|
||||||
//include("../include/toExcell.php");
|
//include("../include/toExcell.php");
|
||||||
//require_once("config.xyz");
|
//require_once("config.xyz");
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
//http://leopard.in.ua/2008/09/20/otslezhivanie-istecheniya-sroka-dejstviya-sessij/
|
//http://leopard.in.ua/2008/09/20/otslezhivanie-istecheniya-sroka-dejstviya-sessij/
|
||||||
//session_save_path('C:\ses');
|
//session_save_path('C:\ses');
|
||||||
|
|
||||||
require_once("../include/tools.php");
|
require_once("../include/tools.xyz");
|
||||||
|
|
||||||
$host = $_SERVER['HTTP_HOST'];
|
$host = $_SERVER['HTTP_HOST'];
|
||||||
$host = '.'.cutAfterLast($host,'.',2);
|
$host = '.'.cutAfterLast($host,'.',2);
|
||||||
|
|||||||
@ -8,7 +8,7 @@ function trt(key)
|
|||||||
{
|
{
|
||||||
if(key==null || key===undefined) return '';
|
if(key==null || key===undefined) return '';
|
||||||
let val=null;
|
let val=null;
|
||||||
if(g_translations !== undefined){
|
if(typeof g_translations !== 'undefined'){
|
||||||
val=g_translations[key];
|
val=g_translations[key];
|
||||||
if(val==null || val===undefined)
|
if(val==null || val===undefined)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user