-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
25 lines (22 loc) · 1.48 KB
/
Copy pathconfig.php
File metadata and controls
25 lines (22 loc) · 1.48 KB
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
<?php
$GLOBALS['config']['prefix'] = "my_";
$GLOBALS['public_image_file'] = 'http://lib.sinaapp.com/xxx/10k.jpg';
$GLOBALS['config']['common_mail']['mail'] = "xxx@sina.com";
$GLOBALS['config']['common_mail']['user'] = "xxx";
$GLOBALS['config']['common_mail']['pass'] = "xxx";
$GLOBALS['config']['common_mail']['server'] = "smtp.sina.com";
$GLOBALS['config']['common_mail']['port'] = 25;
$GLOBALS['config']['mailto'] = 'xxx';
$GLOBALS['config']['service']['mc'] = array('connect', 'set');
$GLOBALS['config']['service']['kv'] = array('init', 'add', 'set', 'replace', 'delete', 'mget', 'pkrget');
$GLOBALS['config']['service']['tq'] = array('addtask');
$GLOBALS['config']['service']['socket'] = array('connect');
$GLOBALS['config']['service']['fetchurl'] = array('fetch');
$GLOBALS['config']['service']['image'] = array('info');
$GLOBALS['config']['service']['storage'] = array('write', 'read', 'update', 'delete');
$GLOBALS['config']['service']['mysql'] = array('connect_m', 'connect_s', 'create_table', 'insert', 'sync', 'update', 'delete', 'truncate', 'droptable');
$GLOBALS['config']['service']['mail'] = array('send');
$GLOBALS['config']['service']['apns'] = array('send_v1', 'send_v2');
$GLOBALS['config']['service']['segment'] = array('seg');
$GLOBALS['config']['service']['fts'] = array('addDoc', 'modifyDoc', 'search', 'delete');
$GLOBALS['config']['rate'] = array('mc'=>2, 'kv'=>2, 'tq'=>5, 'socket'=>5, 'fetchurl'=>5, 'image'=>5, 'storage'=>3, 'mysql'=>3, 'mail'=>3, 'apns'=>5, 'segment'=>5, 'fts'=>5);