PHP Classes

File: docs/es-la/04-developer-docs/01-internals/src/preload.php.md

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   docs/es-la/04-developer-docs/01-internals/src/preload.php.md   Download  
File: docs/es-la/04-developer-docs/01-internals/src/preload.php.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 7 years ago
Size: 692 bytes
 

Contents

Class file image Download

src/preload.php

This is loaded before everything else in the bootstrapping process.

It's automatically included as part of the bootstrap process.

Constants

IDE_HACKS

Type: bool

Value: false

Purpose: Used to assist code-completion with IDEs. The contents of a code block wrapped in if (IDE_HACKS) should never be executed.

ROOT

Type string

Purpose: The root directory of your Airship install, from the perspective of Airship. It references the src directory.

AIRSHIP_UPLOADS

Type string

Purpose: The directory that files will be actually uploaded to.

ISCLI

Type: bool Purpose: An answer to the question, "Are we running a CLI script?"