-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
127 lines (105 loc) · 3.85 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?
/**
* Allomani Audio and Video v2.7
*
* @package Allomani.Audio.and.Video
* @version 2.7
* @copyright (c) 2006-2009 Allomani , All rights reserved.
* @author Ali Allomani <[email protected]>
* @link http://allomani.com
* @license GNU General Public License version 3.0 (GPLv3)
*
*/
//----------- Database Settings --------------
$db_host = "localhost" ;
$db_name = "songs270" ;
$db_username = "root" ;
$db_password = "" ;
//---------- Script Settings ----------
$script_path = "songs270"; //script directory name , leave it blank if in main page
$blocks_width = "17%" ;
$editor_path = "ckeditor"; // no_editor : to remove editor
$global_lang = "arabic" ;
$copyrights_lang = "arabic";
$preview_text_limit = 300 ;
$online_visitor_timeout = 800; // in seconds
$use_editor_for_pages = 1 ; // 1 enable - 0 disable
$full_text_search = false ;
//$default_uploader_chmod = "777";
//$disable_backup = "ÚÝæÇ , åÐå ÇáÎÇÕíÉ ÛíÑ ãÝÚáÉ Ýí ÇáäÓÎÉ ÇáÊÌÑíÈíÉ" ;
//$disable_repair = "ÚÝæÇ , åÐå ÇáÎÇÕíÉ ÛíÑ ãÝÚáÉ Ýí ÇáäÓÎÉ ÇáÊÌÑíÈíÉ" ;
//----------- Debug Settings ---------
$show_mysql_errors = 0 ;
$debug = 0;
//----------- Auto Search -------------
$auto_search_default_exts = "rm,mp3,ra,wav,amr,3gp";
$auto_search_exclude_exts = "exe,php,html,php4,php4,php5,cgi,htm,cnf,ini";
$autosearch_folders = array('uploads',
'images'
);
//---------- to use remote members database ----------
$members_connector['enable'] = 0;
$members_connector['db_host'] = "localhost";
$members_connector['db_name'] = "forum";
$members_connector['db_username'] = "root";
$members_connector['db_password'] = "";
$members_connector['custom_members_table'] = "";
$members_connector['connector_file'] = "vbulliten.php";
//--------------- to use SMTP Server ---------
$smtp_settings['enable'] = 0;
$smtp_settings['host_name']="mail.allomani.biz";
$smtp_settings['host_port']= 25;
$smtp_settings['ssl']=0;
$smtp_settings['username'] = "[email protected]";
$smtp_settings['password'] = "password_here";
$smtp_settings['timeout'] = 10;
$smtp_settings['debug'] = 0;
$smtp_settings['show_errors'] = 1;
//-------- Cookies Settings -----------
$cookies_prefix = "songs_";
$cookies_timemout = 365 ; //days
$cookies_path = "/" ;
$cookies_domain = "";
//----------Safe Functions -------------
// this function may used by moderators so dont include any mysql or file related functions .
$safe_functions = array('and',
'or',
'xor',
'if',
'lsn',
'snd',
'add2fav',
'substr',
'get_image',
'check_member_login',
'print',
'echo',
'in_array',
'is_array',
'is_numeric',
'isset',
'empty',
'defined',
'array',
'open_table',
'close_table',
'strpos',
'strlen',
'get_rss_head_links',
'login_redirect',
'get_file_field_value',
'get_member_field_value',
'print_style_selection',
'iif',
'get_template',
'urlencode',
'count',
'str_replace',
'strchr',
'get_song_field_value',
'sync_urls_sets',
'sync_songs_fields_sets',
'compile_template',
'strtotime',
'date');
?>