Illumina Theme BUG CLIENT

Dec 17, 2017
151
19
Hi Devbest,

Using brain cms with the Illumina theme, I replaced the client.php of the illumina theme with my client.php (of the brain theme) and practically when I keep a page of the CMS open and the client open, they both crash. While if I keep only the client open nothing happens.

Why? Thanks :)
Sorry for my bad english :rolleyes:
 

Laynester

a bad bitch
Nov 7, 2018
304
422
Hiya, I noticed this when i released it,

In the theme, go to Static > Client.php

this line <?php if($hotel['customPurse'] == true) {?>

change to

<?php if(empty(Game::sso('client'))){ Game::sso('client'); } if($hotel['customPurse'] == true) {?>


Then on these, lines
Client.addVariable("client.allow.cross.domain", "0");
Client.addVariable("client.notify.cross.domain", "1");

change to

Client.addVariable("client.allow.cross.domain", "1");
Client.addVariable("client.notify.cross.domain", "0");
 
Dec 17, 2017
151
19
Hiya, I noticed this when i released it,

In the theme, go to Static > Client.php

this line <?php if($hotel['customPurse'] == true) {?>

change to

<?php if(empty(Game::sso('client'))){ Game::sso('client'); } if($hotel['customPurse'] == true) {?>

Then on these, lines
Client.addVariable("client.allow.cross.domain", "0");
Client.addVariable("client.notify.cross.domain", "1");

change to

Client.addVariable("client.allow.cross.domain", "1");
Client.addVariable("client.notify.cross.domain", "0");
Thank you very much! :)
 

Bran

mediocre graphics artist
Mar 13, 2017
1,733
1,539
Client.php
Hiya, I noticed this when i released it,

In the theme, go to Static > Client.php

this line <?php if($hotel['customPurse'] == true) {?>

change to

<?php if(empty(Game::sso('client'))){ Game::sso('client'); } if($hotel['customPurse'] == true) {?>

Then on these, lines
Client.addVariable("client.allow.cross.domain", "0");
Client.addVariable("client.notify.cross.domain", "1");

change to

Client.addVariable("client.allow.cross.domain", "1");
Client.addVariable("client.notify.cross.domain", "0");
that's a temporary fix, you eventually get disconnected
 

Users who are viewing this thread

Top