File: zoph.ini.example

package info (click to toggle)
zoph 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,632 kB
  • sloc: php: 28,044; javascript: 10,435; sql: 527; sh: 153; makefile: 4
file content (49 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download | duplicates (4)
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
;=============================================================================
; zoph.ini
;=============================================================================
;
; This file tells Zoph where it can find the database and it tells
; Zoph's CLI scripts where it can find your Zoph installation.
;
; You should place this file in /etc
; If you have no write access in /etc or have another reason to not put this
; file there, you should change the INI_FILE setting in config.inc.php
; *and* the 'zoph' CLI utility.
;
; You may have multiple Zoph installations, for example a production and a 
; development version, like I have. You should define each of them in a named
; section like [production] or [development].
;
; The webinterface of Zoph will use the "php_location" item to determine which
; settings it should use. The CLI will use the first one, unless you use the
; -i / --instance commandline argument with the name of the section below.
;
; If you have only one install, like most people, you should only create one
; section. (creating no section at all will *not* work).
; With only one instance, providing the -i / --instance commandline argument
; will not be necessary.
;
; If the settings contain characters other than a-z / A-Z / 0-9 you must
; enclose them in double quotes. 
;

[production]

db_host = "localhost"
db_name = "zoph"
db_user = "zoph_rw"
db_pass = "pass"
db_prefix = "zoph_"

php_location = "/var/www/html/zoph"

[development]
db_host = "localhost"
db_name = "zophdev"
db_user = "zoph_rw"
db_pass = "pass"
db_prefix = "zoph_"

php_location = "/var/www/html/zophdev"