ComunicWeb/system/config/offline.config.php

80 lines
1.3 KiB
PHP
Raw Normal View History

2018-04-29 18:58:01 +00:00
<?php
/**
* PHP offline build config for the website
2018-04-29 18:58:01 +00:00
*
* @author Pierre HUBERT
*/
class Offline {
2018-04-29 18:58:01 +00:00
2018-04-29 19:04:30 +00:00
/**
* API access and credentials
*/
2020-05-08 09:05:16 +00:00
const API_URL = "https://devweb.local/comunic/api-v2/";
2021-02-13 14:33:17 +00:00
const API_CLIENT_NAME = "ComunicWeb";
2018-04-29 19:04:30 +00:00
2018-05-10 13:00:10 +00:00
/**
* About website access
*/
const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/";
2018-04-29 18:58:01 +00:00
/**
* Site URL
*/
2020-05-08 09:05:16 +00:00
const SITE_URL = "https://devweb.local/comunic/v2/output/";
2018-04-29 18:58:01 +00:00
/**
* Site production mode
*/
const PROD_MODE = TRUE;
/**
* Path to assets (relative to the build folder)
*/
2021-02-12 16:06:26 +00:00
const PATH_ASSETS = "assets/".BUILD_TIME."/";
2018-04-29 18:58:01 +00:00
/**
* Path to assets (URL)
*/
2021-02-12 16:06:26 +00:00
const ASSETS_URL = "https://devweb.local/comunic/v2/output/assets/".BUILD_TIME."/";
2018-04-29 18:58:01 +00:00
/**
* Third party CSS files
*/
const THIRD_PARTY_CSS = "third_party_css.css";
/**
* Third party Javascript files
*/
const THIRD_PARTY_JS = "third_party.js";
/**
2018-04-29 19:25:00 +00:00
* Third party Javascript files (unminified)
2018-04-29 18:58:01 +00:00
*/
2018-04-29 19:25:00 +00:00
const THIRD_PARTY_UNMINIFIED_JS = "third_party.unminified.js";
2018-04-29 18:58:01 +00:00
/**
* Application CSS files
*/
const APP_CSS = "app.css";
/**
* Application JS files
*/
const APP_JS = "app.js";
/**
2018-04-29 19:25:00 +00:00
* Application JS files (unminifieds)
2018-04-29 18:58:01 +00:00
*/
2018-04-29 19:25:00 +00:00
const APP_UNMINIFIED_JS = "app.unminified.js";
2018-04-29 18:58:01 +00:00
/**
* Language settings
*/
const DEFAULT_LANGUAGE = "en";
/**
* Templates settings
*/
const TEMPLATES_PATH = "templates/";
}