Example #1
0
/**
 * Check if we'll need interface display function (ie not API or redirection)
 *
 */
function yourls_has_interface()
{
    yourls_deprecated_function(__FUNCTION__, '1.7.1');
    if (yourls_is_API() or yourls_is_GO()) {
        return false;
    }
    return true;
}
Example #2
0
/**
 * Check if we'll need interface display function (ie not API or redirection)
 *
 */
function yourls_has_interface()
{
    if (yourls_is_API() or yourls_is_GO()) {
        return false;
    }
    return true;
}