Orpheus

bootstrap.php

Tags
author

Florent HAZARD f.hazard@sowapps.com

Orpheus is able to separate your application sources from its own sources. This allows you to use a common Orpheus source folder for multiple applications, composer is associated to one application. For each application, you are also able to use multiple instances of this application with specific configuration, logs & store. These constants take care about paths through symbolic links.

Table of Contents

Constants

DEFAULT_PATH  = '/'
ERROR_DISPLAY_RAW  = 1
ERROR_IGNORE  = 2
ERROR_THROW_EXCEPTION  = 0
IS_CONSOLE  = \PHP_SAPI === 'cli'
IS_WEB  = !\IS_CONSOLE
THEMES_PATH  = \ACCESS_PATH . \THEMES_FOLDER

Functions

storeBackTrace()  : void

Constants

DEFAULT_PATH

public mixed DEFAULT_PATH = '/'

ERROR_DISPLAY_RAW

public mixed ERROR_DISPLAY_RAW = 1

ERROR_THROW_EXCEPTION

public mixed ERROR_THROW_EXCEPTION = 0

IS_CONSOLE

public mixed IS_CONSOLE = \PHP_SAPI === 'cli'

THEMES_PATH

public mixed THEMES_PATH = \ACCESS_PATH . \THEMES_FOLDER

Functions


							
On this page

Search results