Переход на HTML5 и Group_id to Role_id

This commit is contained in:
2021-07-30 12:36:40 +06:00
parent 6fb71e8a27
commit f0fa97a2ff
10 changed files with 156 additions and 29 deletions

View File

@ -23,7 +23,7 @@ $_CONFIG = array(
'disabled' => false,
'uploadURL' => "upload",
'uploadDir' => "O:/www/www.bigfoottrade.kz_old/shop/",
'uploadDir' => "O:/www/www.rigor.kz_old/shop/",
'theme' => "default",
'types' => array(

View File

@ -16,7 +16,7 @@ function trt($text)
global $db,$Schema;
$result='';
$sql='select translation from '.$Schema.'._translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';';
$sql='select translation from '.$Schema.'_translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';';
//$sql='select translation from main._translations where del=false and language_id=(select id from main._languages where short_name=\''.$_SESSION["LNG"].'\') and identifier=\''.$text.'\';';
$res = NULL;
try