2018-04-29 18:58:01 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* PHP build config for the website
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
|
|
|
|
class Build {
|
|
|
|
|
2018-04-29 19:04:30 +00:00
|
|
|
/**
|
|
|
|
* API access and credentials
|
|
|
|
*/
|
|
|
|
const API_URL = "http://devweb.local/comunic/api/";
|
|
|
|
const API_SERVICE_NAME = "ComunicWeb";
|
|
|
|
const API_SERVICE_TOKEN = "12XU67pJUlnNQ";
|
|
|
|
|
2018-04-29 18:58:01 +00:00
|
|
|
/**
|
|
|
|
* Site URL
|
|
|
|
*/
|
|
|
|
const SITE_URL = "http://devweb.local/comunic/v2/output/";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Site production mode
|
|
|
|
*/
|
|
|
|
const PROD_MODE = TRUE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Path to assets (relative to the build folder)
|
|
|
|
*/
|
|
|
|
const PATH_ASSETS = "assets/";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Path to assets (URL)
|
|
|
|
*/
|
|
|
|
const ASSETS_URL = "http://devweb.local/comunic/v2/output/assets/";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Third party CSS files
|
|
|
|
*/
|
|
|
|
const THIRD_PARTY_CSS = "third_party_css.css";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Third party Javascript files
|
|
|
|
*/
|
|
|
|
const THIRD_PARTY_JS = "third_party.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Third party Javascript files (bundle)
|
|
|
|
*/
|
|
|
|
const THIRD_PARTY_BUNDLE_JS = "third_party.bundle.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Application CSS files
|
|
|
|
*/
|
|
|
|
const APP_CSS = "app.css";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Application JS files
|
|
|
|
*/
|
|
|
|
const APP_JS = "app.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Application JS files (bundles)
|
|
|
|
*/
|
|
|
|
const APP_BUNDLE_JS = "app.bundle.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Language settings
|
|
|
|
*/
|
|
|
|
const DEFAULT_LANGUAGE = "en";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Templates settings
|
|
|
|
*/
|
|
|
|
const TEMPLATES_PATH = "templates/";
|
|
|
|
}
|