var homeURL = this.fluidbook.datas.home;
if (this.fluidbook.datas.home == '%apphome%') {
- homeURL = decodeURIComponent();
+ homeURL = decodeURIComponent(window.localStorage.getItem('apphome'));
+ }
+ if ($_GET['home'] != null) {
+ homeURL = $_GET['home'];
}
try {
if (homeURL != '') {
- fb('app home : ' + window.localStorage.getItem('apphome'))
- this.addLink('nav-home', window.localStorage.getItem('apphome'), 'home', 'home');
+ this.addLink('nav-home', homeURL, 'home', 'home');
}
} catch (err) {