Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

resource_file_readonly()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/resource_functions.php lines 6235 to 6240

Definition

 
function resource_file_readonly($ref)
    {
    
# Even if the user has edit access to a resource, the main file may be read only.
    
global $fstemplate_alt_threshold;
    return (
$fstemplate_alt_threshold>&& $ref<$fstemplate_alt_threshold);
    }

This article was last updated 25th November 2020 05:05 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.