function _janrain_capture_widget_is_remote_screens in Janrain Registration 7.4
Same name and namespace in other branches
- 7.2 includes/janrain_capture.widget.inc \_janrain_capture_widget_is_remote_screens()
Check if the screens are hosted remotely
3 calls to _janrain_capture_widget_is_remote_screens()
- janrain_capture_cron in ./
janrain_capture.module - Implements hook_cron().
- janrain_capture_widget_update_remote_screens in includes/
janrain_capture.widget.inc - Update the local cache of remote JTL and Event files aka "Screens".
- _janrain_capture_widget_get_screen in includes/
janrain_capture.widget.inc - Get the contents of a JTL or events file
File
- includes/
janrain_capture.widget.inc, line 10 - Widget-related functions
Code
function _janrain_capture_widget_is_remote_screens() {
$screenPaths = variable_get('janrain_capture_screens_folder', NULL);
foreach ($screenPaths as $screenPath) {
if (strpos($screenPath, 'http') !== 0) {
return FALSE;
}
}
return TRUE;
//return (strpos($screenPath, 'http') === 0);
}