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

getAbsolutePath()

Description

Detect if a path is relative or absolute.
If it is relative, we compute its absolute location by assuming it is
relative to the application root (parent folder).

@access public

Parameters

ColumnTypeDefaultDescription
$path string A relative or absolute path
$create_if_not_exists boolean false Try to create the path if it does not exists. Default to False.

Return

string A absolute path

This article was last updated 19th March 2024 07:35 Europe/London time based on the source file dated 11th March 2024 11:40 Europe/London time.