Collections functions
Encryption functions
General functions
Theme permission functions
Video 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 21st September 2020 21:05 Europe/London time based on the source file dated 15th September 2020 09:35 Europe/London time.