Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 436 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 436 Bytes

subsplash-webview-control

Logic to help control content or functionality of a webpage when it's loaded inside of a Subsplash app's webview

<?php
    // Checks for existence of a specific Subsplash header value in SERVER global array
    if (array_key_exists('HTTP_SAP_USER_INSTALL_ID', $_SERVER)) {
    // Expected behavior inside Subsplash webview
    } else {
    // Expected behavior outside Subsplash webview
    }
?>