Important Constants


Introduction

There are a number of important constants that Pyro's addons require to work properly. You can pull these into your public theme like so:



This will bring in a number of javascript constants similar to the following:

var APPLICATION_URL = "https://pyrocms.com";
var APPLICATION_REFERENCE = "pyrocms";
var APPLICATION_DOMAIN = "pyrocms.com";
var CSRF_TOKEN = "Z1VUJWQKwhC5Dvtiv6NZaQIO4z3aTq8yeZj9Sn5R";
var APP_DEBUG = "";
var APP_URL = "http://pyrocms.com/";
var REQUEST_ROOT = "https://pyrocms.com";
var REQUEST_ROOT_PATH = "";
var TIMEZONE = "America/Chicago";
var LOCALE = "en";