owl.php
3.17 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
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
<?php
/*
File: owl.php
Author: Chris
Date: 2000/12/14
Owl: Copyright Chris Vincent <cvincent@project802.net>
You should have received a copy of the GNU Public
License along with this package; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
// Some urls
$default->owl_root_url = "";
$default->owl_graphics_url = $default->owl_root_url . "/graphics";
// Directory where owl is located
$default->owl_fs_root = "C:/Projects/MRC/Devel/owl";
$default->owl_LangDir = $default->owl_fs_root . "/locale";
// Directory where The Documents Directory is On Disc
$default->owl_FileDir = "C:/Projects/MRC/Devel/";
//$default->owl_FileDir = "/tmp";
// Set to true to use the file system to store documents, false only uses the database
//$default->owl_use_fs = false;
// the Trailing Slash is important here.
//$default->owl_FileDir = "/tmp/";
//$default->owl_compressed_database = 1;
$default->owl_use_fs = true;
//****************************************************
// Pick your language system default language
// now each user can pick his language
// if they are allowed by the admin to change their
// preferences.
//****************************************************
// b5
// Chinese
// Danish
// Deutsch
// Dutch
// English
// Francais
// Hungarian
// Italian
// NewEnglish <- NEW LOOK, English will be obsoleted in a future version
// Norwegian
// Portuguese
// Spanish
$default->owl_lang = "NewEnglish";
$default->owl_notify_link = "http://$_SERVER[SERVER_NAME]$default->owl_root_url/";
// Table with user info
$default->owl_users_table = "users";
// Table with group memebership for users
$default->owl_users_grpmem_table= "membergroup";
$default->owl_sessions_table = "active_sessions";
// Table with file info
$default->owl_files_table = "files";
// Table with folders info
$default->owl_folders_table = "folders";
// Table with group info
$default->owl_groups_table = "groups";
// Table with mime info
$default->owl_mime_table = "mimes";
// Table with html attributes
$default->owl_html_table = "html";
// Table with html attributes
$default->owl_prefs_table = "prefs";
// Table with file data info
$default->owl_files_data_table = "filedata";
// Change this to reflect the database you are using
require("$default->owl_fs_root/phplib/db_mysql.inc");
//require("$default->owl_fs_root/phplib/db_pgsql.inc");
//begin WES change
// Database info
$default->owl_db_user = "rob";
$default->owl_db_pass = "rob";
$default->owl_db_host = "";
$default->owl_db_name = "owl";
// logo file that must reside inside lang/graphics directory
$default->logo = "owl.gif";
// BUG Number: 457588
// This is to display the version information in the footer
$default->version = "owl 0.7 20021129";
$default->phpversion = "4.0.2";
$default->debug = True;
// WES STUFF
// Untested or in the process of implementing (DORMANT)
// change at your own risks
// on Second though Don't even think of changing anything below this line.
//$default->owl_use_htaccess = 1;
//$default->owl_launch_in_browser = 0;
//$default->owl_restrict_linkto = true;
?>