|
#1
|
|||
|
|||
problem with Theme/ and language/
Hello, i have a little problem i`m trying to change language and the style , but when i change the style with another , still stayed the same.... the same is the language also? how i can fix this think?
|
#2
|
|||
|
|||
Quote:
Code:
Open Index.php Find if (empty($_SESSION['user']['style_url'])) Replace with if (empty($_SESSION['CURUSER']['style_url'])) Find $_SESSION['user']['style_url']=$STYLEURL; Replace with $_SESSION['CURUSER']['style_url']=$STYLEURL; Find $_SESSION['user']['style_path']=$STYLEPATH; Replace with $_SESSION['CURUSER']['style_path']=$STYLEPATH; Find $STYLEURL=$_SESSION['user']['style_url']; Replace with $STYLEURL=$_SESSION['CURUSER']['style_url']; Find $STYLEPATH=$_SESSION['user']['style_path']; Replace with $STYLEPATH=$_SESSION['CURUSER']['style_path']; Find if (empty($_SESSION['user']['language_path'])) Replace with if (empty($_SESSION['CURUSER']['language_path'])) Find $_SESSION['user']['language_path']=$USERLANG; Replace with $_SESSION['CURUSER']['language_path']=$USERLANG; Find $USERLANG=$_SESSION['user']['language_path']; Replace with $USERLANG=$_SESSION['CURUSER']['language_path']; i try Xbtit 2.2.1 and Xbtit 2.2.2 Xbtit 2.2.1 Better |
#3
|
|||
|
|||
yes, i install xbtit 2.2.1 and the problem was fixed, thank u buddy :)
|
Tags |
language or , problem , theme or |
|
|