Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

resource_file_readonly()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/resource_functions.php lines 6824 to 6829

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 18th May 2024 21:35 Europe/London time based on the source file dated 17th May 2024 18:10 Europe/London time.