-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.php
51 lines (38 loc) · 1.58 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
<?php
/*
* WARNING: there is no built-in authentication in this application (yet)
* so, you need to provide some SECURITY either by configuring at least an HTTP authorization
* or creating a MySQL read-only user (in this case, you will not be able to edit data, only browse)
* or any other way more suitable for your needs
*/
$pmea_config = array(
// extRoot = path to your ExtJS 3 installation (root folder here refers to your public site root)
'extRoot' => '/ext',
// title = browser window title and grid title
'title' => 'PHP MySQL ExtJS Admin',
// pageSize = number of rows to display at once
'pageSize' => 30,
/*
* host = your MySQL database server IP or URL
* user = your MySQL database user name
* pass = your MySQL database password
* name = your MySQL database name
*/
'host' => 'localhost',
'user' => 'user',
'pass' => 'pass',
'name' => 'name',
// debug = if true, send exceptions to client-side (as recommended by ExtJS)
'debug' => false,
// showtype = display MySQL data type in the column headers
'showtype' => false,
// language = language of user interface
'language' => 'en',
// initial_table = table name to be automatically displayed on start up
'initial_table' => '',
// allowed_tables = if you want to allow access only to a few tables, specify their names as an array
'allowed_tables' => array(),
// forbidden_tables = if you want to disallow access to a few tables, specify their names as an array
'forbidden_tables'=> array()
);
?>