making wefra fully customisable by external addons (cont.)
This commit is contained in:
parent
29dc1043cf
commit
8af6cbec61
1177
install/install-v1.0.0.sql
Normal file
1177
install/install-v1.0.0.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
interface InterfaceConfig {
|
interface InterfaceConfig {
|
||||||
//URLs
|
//URLs & paths kernel
|
||||||
const URL_ROOT = "http://localhost/wefra/";
|
const PATH_ROOT = "/var/www/html/wefra/";
|
||||||
|
const URL_ROOT = "/wefra/";
|
||||||
const URL_SCRIPT = "http://localhost/wefra/scripts/";
|
const URL_SCRIPT = "http://localhost/wefra/scripts/";
|
||||||
|
|
||||||
|
// URLs & paths customs
|
||||||
|
const PATH_CUSTOM = "/var/www/customs/wefra/"; // <== CONFIG the path to your custom directory
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
var urlRoot = "http://localhost/wefra/";
|
var urlRoot = "/wefra/";
|
||||||
|
|
||||||
|
// needed for AJAX calls within D3JS
|
||||||
var config_requestArguments = {
|
var config_requestArguments = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
mode: "same-origin",
|
mode: "same-origin",
|
||||||
credentials: "same-origin",
|
credentials: "same-origin",
|
||||||
headers: new Headers(),
|
headers: new Headers(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user