This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
/
package.php
101 lines (85 loc) · 2.52 KB
/
package.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
return [
/**
* FoolFuuka base variables
*/
'main' => [
/**
* Version
*/
'version' => '2.1.0',
/**
* Display name for the module
*/
'name' => 'FoolFuuka',
'class_context' => '\\Foolz\\FoolFuuka\\Model\\Context',
/**
* The name that can be used in classes names
*/
'class_name' => 'FoolFuuka',
/**
* URL to download a newer version
*/
'git_tags_url' => 'https://api.github.com/repos/FoolCode/foolfuuka/tags',
/**
* URL to fetch the changelog
*/
'git_changelog_url' => 'https://raw.github.com/FoolCode/FoOlFuuka/master/CHANGELOG.md',
/**
* Minimal PHP requirement
*/
'min_php_version' => '5.3.0'
],
/**
* Locations of the data out of the module folder
*/
'directories' => [
'themes' => ASSETSPATH.'themes/',
'plugins' => ASSETSPATH.'plugins/'
],
/**
* Preferences for when there's no default specified
*/
'preferences' => [
'gen' => [
'website_title' => 'FoolFuuka',
'index_title' => 'FoolFuuka',
],
'lang' => [
'default' => 'en_EN'
],
'sphinx' => [
'listen' => '127.0.0.1:9306',
'listen_mysql' => '127.0.0.1:3306',
'dir' => '/usr/local/sphinx/var',
'min_word' => 3,
'memory' => 2047
],
'themes' => [],
'radix' => [
'op_image_upload_necessity' => 'always',
'threads_per_page' => 10,
'thumbnail_op_width' => 250,
'thumbnail_op_height' => 250,
'thumbnail_reply_width' => 125,
'thumbnail_reply_height' => 125,
'max_image_size_kilobytes' => 3072,
'max_image_size_width' => 5000,
'max_image_size_height' => 5000,
'max_posts_count' => 400,
'max_images_count' => 250,
'min_image_repost_time' => 0,
'anonymous_default_name' => 'Anonymous',
'max_comment_characters_allowed' => 4096,
'max_comment_lines_allowed' => 20,
'cooldown_new_comment' => 10,
'cooldown_new_thread' => 300,
'thread_lifetime' => 432000,
'captcha_comment_link_limit' => 3
],
'boards' => [
'directory' => DOCROOT.'foolfuuka/boards/',
'url' => '/foolfuuka/boards'
]
]
];