Robin Thoni před 9 roky
rodič
revize
923248dd59
1 změnil soubory, kde provedl 29 přidání a 0 odebrání
  1. 29
    0
      misc/config.php.sample

+ 29
- 0
misc/config.php.sample Zobrazit soubor

1
 <?php
1
 <?php
2
+/*
3
+The MYSQL host (usally localhost).
4
+*/
2
 $database_host = "localhost";
5
 $database_host = "localhost";
6
+/*
7
+The MYSQL host port (usally 3306).
8
+*/
3
 $database_port = 3306;
9
 $database_port = 3306;
10
+/*
11
+The database name to use (eg: vdm_storage).
12
+*/
4
 $database_name = "";
13
 $database_name = "";
14
+/*
15
+The database user to connect as.
16
+Only needs SELECT and INSERT privilege on database.
17
+No global privilege are required.
18
+*/
5
 $database_user = "";
19
 $database_user = "";
20
+/*
21
+The above user password.
22
+*/
6
 $database_pass = "";
23
 $database_pass = "";
24
+/*
25
+The folder to store uploaded images (eg: ./medias/).
26
+The variable MUST ends with a trailling slash (/).
27
+The web server only need write permission.
28
+*/
7
 $media_path = "";
29
 $media_path = "";
30
+/*
31
+The public URL to access uploaded images (eg: /medias/).
32
+The variable MUST ends with a trailling slash (/).
33
+Note that it can also be on a different host:
34
+media_path = /var/images.api.vdm/ (can be a local folder or a mounted one)
35
+media_url = http://images.api.vdm.tld/
36
+*/
8
 $media_url = "";
37
 $media_url = "";
9
 ?>
38
 ?>

Načítá se…
Zrušit
Uložit