|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+<?php
|
|
|
2
|
+
|
|
|
3
|
+class Config {
|
|
|
4
|
+
|
|
|
5
|
+ /** Site Settings */
|
|
|
6
|
+ public static $sys_url = "https://aspit.dfine.net/odensetrack/"; //Website URL WITH tailing slash
|
|
|
7
|
+ public static $debug = true; // Public debug flag
|
|
|
8
|
+ public static $closed = false; // If set to true, the site wont load. Useful when not using login.
|
|
|
9
|
+
|
|
|
10
|
+ /** MySQL settings */
|
|
|
11
|
+ public static $mysql_host = "";
|
|
|
12
|
+ public static $mysql_user = "";
|
|
|
13
|
+ public static $mysql_pass = "";
|
|
|
14
|
+ public static $mysql_db = "";
|
|
|
15
|
+
|
|
|
16
|
+ /** Extended database settings */
|
|
|
17
|
+ public static $db_tableusers = "users";
|
|
|
18
|
+
|
|
|
19
|
+ /** Upload settings */
|
|
|
20
|
+ public static $file_path = "img/uploads/";
|
|
|
21
|
+ public static $file_types = ['jpeg', 'jpg', 'png', 'svg', 'gif', 'pdf', 'doc', 'docx', 'xlsx', 'xls', 'ppt', 'txt', 'rtf'];
|
|
|
22
|
+ public static $file_size = 5000000;
|
|
|
23
|
+
|
|
|
24
|
+ /** News Categories */
|
|
|
25
|
+
|
|
|
26
|
+ public static $newscat = ['Ingen kategori', 'Nyhed', 'Breaking', 'Blog'];
|
|
|
27
|
+
|
|
|
28
|
+
|
|
|
29
|
+}
|