瀏覽代碼

Empty cfg

tags/rls1
Kenneth Hedahl 6 年之前
父節點
當前提交
240e3bc5ce
共有 1 個文件被更改,包括 29 次插入0 次删除
  1. 29
    0
      classes/config.class.php

+ 29
- 0
classes/config.class.php 查看文件

@@ -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
+}

Loading…
取消
儲存