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

command_line_only()

Description

Check we're running on the command line, exit otherwise. Security feature for the scripts in /pages/tools/

Parameters

This function accepts no parameters.

Return

void

This article was last updated 18th May 2024 15:35 Europe/London time based on the source file dated 17th May 2024 09:00 Europe/London time.