forked from b-jesch/KN_VES
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
73 lines (46 loc) · 1.83 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
const DEBUG = false;
# Root/Folders of CMS
# server production
const ROOT = 'https://events.kodinerds.net/';
# server testing
# define('ROOT', 'https://event.bj4mw.duckdns.org/');
# Kodinerds User URL/Cookies/Links
define('KN_USER', 'https://www.kodinerds.net/wcf/user/');
define('KN_LOGIN', 'https://www.kodinerds.net/wcf/login/');
define('KN_TWOFACTOR', 'https://www.kodinerds.net/wcf/multifactor-authentication');
define('COOKIE_PATH', $_SERVER['DOCUMENT_ROOT'].'/cookie.txt');
const KN_VES_ANNOUNCEMENT = 'https://www.kodinerds.net/index.php/Thread/70207-RELEASE-KN-Video-Event-Service-und-Video-Event-Server/';
# --------------------------------------------------------- #
const CONTROLLER = 'index.php';
const VIEWS = 'views/';
# Stylesheets
const CSS = 'css/styles.css';
const DATA = 'database/';
const MEDIA = 'database/media/';
const API = 'api.php';
# Views
const DEFAULTPAGE = 'list.php'; # Bootstrap
const ERRORPAGE = 'error.php'; # Fehlerseite
const LISTVIEW = 'list.php'; # Eventliste
const COLLECT = 'collect.php'; # Erfassung
const EDIT = 'edit.php'; # Bearbeitung
const LOGIN = 'login.php'; # Login
const TITLE = 'Kodinerds Event Server: ';
# Model
const CLASSES = 'classes/';
# Functions
const FUNCTIONS = 'functions/';
# Helpers, Graphics
const EXTLINK = 'css/extlink.svg'; # Grafik externer Link
const COPYLINK = 'css/copy.svg'; # Grafik kopieren
const EDITLINK = 'css/stift.svg'; # Grafik bearbeiten
const HEADER = 'header.php'; # Header
const FOOTER = 'footer.php'; # Footer
# Maintenance
const RETENTION_TIME_TEMP = 86400; # 24 Hours
const RETENTION_TIME_PERMA = 2592000; # 30 Days
# global MVC-Context
const('CONTEXT' = true);
# encrypt Key
define('KEY', '12345678901234567890123456789012'); # 32 bytes = 256 bit key