+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: One language in the frontend

  1. #11
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,177
    Hello,

    My solution below works well for me

  2. #12
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    I have error after add

    Parse error: syntax error, unexpected identifier " " in /home/u549965188/domains/mydomain.com/public_html/includes/classes/rlLang.class.php on line 346

    if ($status == 'all') {
    $options = "WHERE `Status` <> 'trash'";
    } else {
    $where = array('Status' => $status);
    }
    if*(!defined('REALM'))*{
    ****$where['Code']*=*'en';
    }

  3. #13
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,177
    Of course, because you commented out the code incorrectly

    you should use /* ... */ to comment php code

+ Reply to Thread