|
@@ -32,7 +32,7 @@ class Pages extends Controller
|
|
|
$ns = new Notifications();
|
|
$ns = new Notifications();
|
|
|
$ns->notify(Notifications::FB_ADMIN, $f3->clean($e->getMessage()));
|
|
$ns->notify(Notifications::FB_ADMIN, $f3->clean($e->getMessage()));
|
|
|
// IF can't connect to FINDBOX, reroute to OMLINK Page Settings to fast change settings
|
|
// IF can't connect to FINDBOX, reroute to OMLINK Page Settings to fast change settings
|
|
|
- if ($f3->get('PATTERN') != '/admin/omlsettings')
|
|
|
|
|
|
|
+ if (!$f3->get('AJAX') && ($f3->get('PATTERN') != '/admin/omlsettings'))
|
|
|
$f3->reroute('/admin/omlsettings');
|
|
$f3->reroute('/admin/omlsettings');
|
|
|
}
|
|
}
|
|
|
|
|
|