Constants

string ACTIVITY_LOG

The filesystem path to the main file which is contained within the manifest/logs folder. This is the default Symphony log file.

string APPLICATION_URL

Returns the folder name for Symphony as an application

string ASSETS

The filesystem path to the assets folder which is contained within the symphony folder.

string BOOT

The filesystem path to the boot folder which is contained within the symphony/lib folder.

string CACHE

The filesystem path to the cache folder which is contained within the manifest folder.

str CDATA_END
string CONFIG

The filesystem path to the config.php file which is contained within the manifest folder. This holds all the Symphony configuration settings for this install.

string CONTENT

The filesystem path to the content folder which is contained within the symphony folder.

string CORE

The filesystem path to the core folder which is contained within the symphony/lib folder.

string DATASOURCES

The filesystem path to the data-sources folder which is contained within the workspace folder.

string EMAILGATEWAYS

The filesystem path to the email-gateways folder which is contained within the symphony/lib/toolkit folder.

string EVENTS

The filesystem path to the events folder which is contained within the workspace folder.

string EXTENSIONS

The filesystem path to the extensions folder

string FACE

The filesystem path to the interface folder which is contained within the symphony/lib folder.

string|boolean HTTPS

Returns the environmental variable if HTTPS is in use.

string HTTP_HOST

Returns the current host, ie. google.com

string HTTP_USER_AGENT

Returns the User Agent string of the browser that is viewing the current page

string LANG

The filesystem path to the lang folder which is contained within the symphony/lib folder. By default, the Symphony install comes with an english language translation.

string LIBRARY

The filesystem path to the lib folder which is contained within the symphony folder.

string LOGS

The filesystem path to the logs folder which is contained within the manifest folder. The default Symphony Log file is saved at this path.

string MANIFEST

The filesystem path to the manifest folder

string PAGES

The filesystem path to the pages folder which is contained within the workspace folder.

integer PHP_VERSION_ID

For versions of PHP below 5.2.7, the PHPVERSIONID constant, doesn't exist, so this will just mimic the functionality as described on the PHP documentation

string REMOTE_ADDR

Returns the IP address of the machine that is viewing the current page.

float STARTTIME

Used as a default seed, this returns the time in seconds that Symphony started to load. Most profiling runs use this as a benchmark.

string SYMPHONY

The filesystem path to the symphony folder

string SYMPHONY_URL

Returns the URL + /symphony. This should be used whenever the a developer wants to link to the Symphony root

string TEMPLATE

The filesystem path to the template folder which is contained within the symphony folder.

string TEXTFORMATTERS

The filesystem path to the text-formatters folder which is contained within the workspace folder.

string TMP

The filesystem path to the tmp folder which is contained within the manifest folder.

string TOOLKIT

The filesystem path to the toolkit folder which is contained within the symphony/lib folder.

integer TWO_WEEKS

Returns the number of seconds that represent two weeks.

string URL

The base URL of this Symphony install, minus the symphony path.

string UTILITIES

The filesystem path to the utilities folder which is contained within the workspace folder.

string WORKSPACE

The filesystem path to the workspace folder

mixed _SERVER
string|boolean __SECURE__

If HTTPS is on, __SECURE__ will be set to true, otherwise false. Use union of the HTTPS environmental variable and the X-Forwarded-Proto header to allow downstream proxies to inform the webserver of secured downstream connections

mixed bInsideInstaller

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details