- $opts = (($a->profile_uid) ? '?f=&puid=' . $a->profile_uid : '');
- if (file_exists('view/theme/' . $theme . '/style.php')) {
- if ($a->is_mobile) {
- // Workaround for iOS Safari not sending the cookie for static files
- return 'view/theme/' . $theme . '/style' . $opts;
- } else {
- return 'view/theme/' . $theme . '/style.pcss' . $opts;
- }